Fixed required KCONFIG symbols for block IDE modules
Fixed required KCONFIG symbols for block IDE modules

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8121 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -9,7 +9,7 @@
 	- ide-core \\\
 	- ide-detect \\\
 	- ide-disk
-  KCONFIG:=CONFIG_IDE
+  KCONFIG:=CONFIG_IDE CONFIG_BLK_DEV_IDE CONFIG_IDE_GENERIC CONFIG_BLK_DEV_IDEDISK
   SUBMENU:=$(BLMENU)
 endef
 define KernelPackage/ide-core/2.4
@@ -23,9 +23,8 @@
   FILES:= \
 	$(LINUX_DIR)/drivers/ide/ide-core.$(LINUX_KMOD_SUFFIX) \
 	$(LINUX_DIR)/drivers/ide/ide-generic.$(LINUX_KMOD_SUFFIX) \
-	$(LINUX_DIR)/drivers/ide/ide-detect.$(LINUX_KMOD_SUFFIX) \
 	$(LINUX_DIR)/drivers/ide/ide-disk.$(LINUX_KMOD_SUFFIX)
-  AUTOLOAD:=$(call AutoLoad,20,ide-core) $(call AutoLoad,90,ide-generic ide-detect ide-disk)
+  AUTOLOAD:=$(call AutoLoad,20,ide-core) $(call AutoLoad,90,ide-generic ide-disk)
 endef
 $(eval $(call KernelPackage,ide-core))
 

comments