kernel: add a missing module for ahci on 2.6.35+
[openwrt.git] / package / kernel / modules / i2c.mk
index 8ca3819..e4d714e 100644 (file)
@@ -184,13 +184,14 @@ endef
 
 $(eval $(call KernelPackage,i2c-mv64xxx))
 
 
 $(eval $(call KernelPackage,i2c-mv64xxx))
 
+
+I2C_AT91_MODULES:=\
+  CONFIG_I2C_AT91:drivers/i2c/busses/i2c-at91
+
 define KernelPackage/at91-i2c
 define KernelPackage/at91-i2c
-  SUBMENU:=$(I2C_MENU)
+  $(call i2c_defaults,$(I2C_AT91_MODULES),55)
   TITLE:=I2C (TWI) master driver for Atmel AT91
   TITLE:=I2C (TWI) master driver for Atmel AT91
-  DEPENDS:=@TARGET_at91 kmod-i2c-core
-  KCONFIG:=CONFIG_I2C_AT91
-  FILES:=$(LINUX_DIR)/drivers/i2c/busses/i2c-at91.ko
-  AUTOLOAD:=$(call AutoLoad,55,i2c-at91)
+  DEPENDS:=@TARGET_at91 +kmod-i2c-core
 endef
 
 define KernelPackage/at91-i2c/description
 endef
 
 define KernelPackage/at91-i2c/description
This page took 0.06606 seconds and 4 git commands to generate.