aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-04-03 10:00:32 +0000
committerJohn Crispin <blogic@openwrt.org>2013-04-03 10:00:32 +0000
commit4eae09723deb70a23b8020d4294a33948e2b26aa (patch)
treec57339f963cbf3e74582329072072da84a904b22
parent4b605fd6fa8f4d84b539f0b9008fc2c44db0292f (diff)
downloadupstream-4eae09723deb70a23b8020d4294a33948e2b26aa.tar.gz
upstream-4eae09723deb70a23b8020d4294a33948e2b26aa.tar.bz2
upstream-4eae09723deb70a23b8020d4294a33948e2b26aa.zip
[kernel] make OF_I2C build as part of i2c-core
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36179 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/i2c.mk18
1 files changed, 1 insertions, 17 deletions
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk
index e01f93775d..101466f096 100644
--- a/package/kernel/modules/i2c.mk
+++ b/package/kernel/modules/i2c.mk
@@ -22,6 +22,7 @@ endef
I2C_CORE_MODULES:= \
CONFIG_I2C:drivers/i2c/i2c-core \
+ CONFIG_OF_I2C:drivers/of/of_i2c \
CONFIG_I2C_CHARDEV:drivers/i2c/i2c-dev
define KernelPackage/i2c-core
@@ -100,23 +101,6 @@ endef
$(eval $(call KernelPackage,i2c-gpio))
-
-OF_I2C_MODULES:=\
- CONFIG_OF_I2C:drivers/of/of_i2c
-
-define KernelPackage/of-i2c
- $(call i2c_defaults,$(OF_I2C_MODULES),58)
- TITLE:=OpenFirmware I2C accessors
- DEPENDS:=@TARGET_ppc40x||TARGET_ppc4xx||TARGET_mpc52xx||TARGET_mpc83xx||TARGET_mpc85xx||TARGET_mvebu \
- kmod-i2c-core
-endef
-
-define KernelPackage/of-i2c/description
- Kernel module for OpenFirmware I2C accessors.
-endef
-
-$(eval $(call KernelPackage,of-i2c))
-
I2C_MPC_MODULES:=\
CONFIG_I2C_MPC:drivers/i2c/busses/i2c-mpc