Staging: cpc-usb: add driver to the build
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 15 May 2009 03:47:10 +0000 (20:47 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:53 +0000 (11:00 -0700)
This adds the cpc-usb driver to the kernel build

Cc: Sebastian Haas <haas@ems-wuensche.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/cpc-usb/Kconfig [new file with mode: 0644]
drivers/staging/cpc-usb/Makefile [new file with mode: 0644]

index f634fcf..f9371ab 100644 (file)
@@ -121,5 +121,7 @@ source "drivers/staging/octeon/Kconfig"
 
 source "drivers/staging/vt6655/Kconfig"
 
+source "drivers/staging/cpc-usb/Kconfig"
+
 endif # !STAGING_EXCLUDE_BUILD
 endif # STAGING
index 52f8eb9..d6bafe2 100644 (file)
@@ -42,3 +42,4 @@ obj-$(CONFIG_LINE6_USB)               += line6/
 obj-$(CONFIG_USB_SERIAL_QUATECH_ESU100)        += serqt_usb/
 obj-$(CONFIG_OCTEON_ETHERNET)  += octeon/
 obj-$(CONFIG_VT6655)           += vt6655/
+obj-$(CONFIG_USB_CPC)          += cpc-usb/
diff --git a/drivers/staging/cpc-usb/Kconfig b/drivers/staging/cpc-usb/Kconfig
new file mode 100644 (file)
index 0000000..00924ce
--- /dev/null
@@ -0,0 +1,4 @@
+config USB_CPC
+       tristate "CPC CAN USB driver"
+       depends on USB
+       default n
diff --git a/drivers/staging/cpc-usb/Makefile b/drivers/staging/cpc-usb/Makefile
new file mode 100644 (file)
index 0000000..3f83170
--- /dev/null
@@ -0,0 +1,3 @@
+obj-$(CONFIG_USB_CPC)  += cpc-usb.o
+
+cpc-usb-y := cpc-usb_drv.o sja2m16c_2.o