--- Makefile.orig 2006-07-11 10:18:21.000000000 +1000 +++ Makefile 2006-07-11 10:19:07.000000000 +1000 @@ -26,11 +26,11 @@ # Setup defines DEFINES += -DCONFIG_USB_SPCA5XX_MODULE=1 -DMODULE -D__KERNEL__ DEFINES += -DVID_HARDWARE_SPCA5XX=0xFF -DSPCA5XX_VERSION=\"$(VERSION)\" +CFLAGS += $(DEFINES) ifneq ($(shell uname -r | cut -d. -f1,2), 2.4) ifneq ($(KERNELRELEASE),) # We were called by kbuild -CFLAGS += $(DEFINES) obj-m += spca5xx.o spca5xx-objs := drivers/usb/spca5xx.o drivers/usb/spcadecoder.o