This adds the 
ced1401 driver to the build system.
Yes, there are a lot of warning messages, but it does compile, so it
should be good to get going.
Cc: Alois Schlögl <alois.schloegl@ist.ac.at>
Cc: Greg P. Smith <greg@ced.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 source "drivers/staging/silicom/Kconfig"
 
+source "drivers/staging/ced1401/Kconfig"
+
 endif # STAGING
 
 obj-$(CONFIG_OMAP_BANDGAP)     += omap-thermal/
 obj-$(CONFIG_ZCACHE2)          += ramster/
 obj-$(CONFIG_NET_VENDOR_SILICOM)       += silicom/
+obj-$(CONFIG_CED1401)          += ced1401/
 
--- /dev/null
+config CED1401
+       tristate "Cambridge Electronic Design 1401 USB support"
+       depends on USB
+       help
+         This driver supports the Cambridge Electronic Design 1401 USB device
+         (whatever that is.)
 
-obj-m := cedusb.o
-cedusb-objs := usb1401.o ced_ioc.o
-KDIR := /lib/modules/$(shell uname -r)/build
-PWD := $(shell pwd)
-KBUILD_EXTRA_SYMBOLS := $(PWD)
-EXTRA_CFLAGS = -I$(HOME)/src/ced1401 
-all:
-       $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
-
-clean:
-       $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean
 
+obj-$(CONFIG_CED1401)  := cedusb.o
+cedusb-objs    := usb1401.o ced_ioc.o