summaryrefslogtreecommitdiffstats
path: root/drivers/misc/habanalabs/Makefile
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2019-02-15 23:39:11 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-18 09:46:43 +0100
commitc4d66343a46a4931d6a547042198896e4fd1c592 (patch)
tree332ec9c14d265a7a9b71bf8b7240277f176149a0 /drivers/misc/habanalabs/Makefile
parentbinder: fix handling of misaligned binder object (diff)
downloadlinux-c4d66343a46a4931d6a547042198896e4fd1c592.tar.xz
linux-c4d66343a46a4931d6a547042198896e4fd1c592.zip
habanalabs: add skeleton driver
This patch adds the habanalabs skeleton driver. The driver does nothing at this stage except very basic operations. It contains the minimal code to insmod and rmmod the driver and to create a /dev/hlX file per PCI device. Reviewed-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/habanalabs/Makefile')
-rw-r--r--drivers/misc/habanalabs/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/misc/habanalabs/Makefile b/drivers/misc/habanalabs/Makefile
new file mode 100644
index 000000000000..0910f7fa34ec
--- /dev/null
+++ b/drivers/misc/habanalabs/Makefile
@@ -0,0 +1,7 @@
+#
+# Makefile for HabanaLabs AI accelerators driver
+#
+
+obj-m := habanalabs.o
+
+habanalabs-y := habanalabs_drv.o device.o