summaryrefslogtreecommitdiff
path: root/package/kernel/modules/other.mk
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-04-09 23:34:20 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-04-09 23:34:20 +0000
commit2ce13f05cbc2bd83fa0b54edc7d89f65a859781d (patch)
tree2e37b4b18a11ca4e1856c6012818dd886ed598b1 /package/kernel/modules/other.mk
parent3b659a2519fa7dc90b4cd3246da43dfc484936c5 (diff)
downloadmtk-20170518-2ce13f05cbc2bd83fa0b54edc7d89f65a859781d.zip
mtk-20170518-2ce13f05cbc2bd83fa0b54edc7d89f65a859781d.tar.gz
mtk-20170518-2ce13f05cbc2bd83fa0b54edc7d89f65a859781d.tar.bz2
kernel: add symbols, small fixes
* Some module should be loaded later to load them after the modules they are depending on * add some more missing config symbols * make CS5535 build again SVN-Revision: 26570
Diffstat (limited to 'package/kernel/modules/other.mk')
-rw-r--r--package/kernel/modules/other.mk12
1 files changed, 5 insertions, 7 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 8c03efc..d05c1c6 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -182,8 +182,8 @@ $(eval $(call KernelPackage,eeprom-93cx6))
define KernelPackage/gpio-cs5535
SUBMENU:=$(OTHER_MENU)
TITLE:=AMD CS5535/CS5536 GPIO driver
- DEPENDS:=@TARGET_x86
- KCONFIG:=CONFIG_CS5535_GPIO
+ DEPENDS:=@TARGET_x86 @LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_35||LINUX_2_6_36||LINUX_2_6_37
+ KCONFIG:=CONFIG_CS5535_GPIO CONFIG_GPIOLIB=y
FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko
AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio)
endef
@@ -198,12 +198,10 @@ $(eval $(call KernelPackage,gpio-cs5535))
define KernelPackage/gpio-cs5535-new
SUBMENU:=$(OTHER_MENU)
TITLE:=AMD CS5535/CS5536 GPIO driver with improved sysfs support
- DEPENDS:=@TARGET_x86
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.33)),1)
- KCONFIG:=CONFIG_GPIO_CS5535 CONFIG_PCI CONFIG_GPIOLIB
+ DEPENDS:=@TARGET_x86 @!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32)
+ KCONFIG:=CONFIG_GPIO_CS5535 CONFIG_GPIOLIB=y
FILES:=$(LINUX_DIR)/drivers/gpio/cs5535-gpio.ko
AUTOLOAD:=$(call AutoLoad,50,cs5535-gpio)
-endif
endef
define KernelPackage/gpio-cs5535-new/description
@@ -925,7 +923,7 @@ define KernelPackage/rtc-pcf8563
DEPENDS:=+kmod-rtc-core
KCONFIG:=CONFIG_RTC_DRV_PCF8563
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,30,rtc-pcf8563)
+ AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
endef
define KernelPackage/rtc-pcf8563/description