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 f634fcf3e5a90d8a70b7cf7192343f3d77d8345a..f9371ab9d080f888e300b5909778d980e9be7ca3 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 52f8eb99afda08d140a23bcd62116b0937e417fa..d6bafe2ff9cf52d9d8f61ce6a0b4acd4274beaf9 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