- FILES:=$(LINUX_DIR)/drivers/usb/core/usbcore.ko
- AUTOLOAD:=$(call AutoLoad,20,usbcore,1)
+ ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
+ FILES:= \
+ $(LINUX_DIR)/drivers/usb/core/usbcore.ko \
+ $(LINUX_DIR)/drivers/usb/usb-common.ko
+ AUTOLOAD:=$(call AutoLoad,20,usb-common usbcore,1)
+ else
+ FILES:=$(LINUX_DIR)/drivers/usb/core/usbcore.ko
+ AUTOLOAD:=$(call AutoLoad,20,usbcore,1)
+ endif
+ $(call AddDepends/nls)