i2c: fix rk change for i2c gpio

This commit is contained in:
黄涛
2012-03-30 19:55:53 +08:00
parent 34046f2bc3
commit c1e1f2cd55
3 changed files with 5 additions and 3 deletions

View File

@@ -2,8 +2,7 @@
# Makefile for the i2c algorithms
#
#obj-$(CONFIG_I2C_ALGOBIT) += i2c-algo-bit.o
obj-y += i2c-algo-bit.o
obj-$(CONFIG_I2C_ALGOBIT) += i2c-algo-bit.o
obj-$(CONFIG_I2C_ALGOPCF) += i2c-algo-pcf.o
obj-$(CONFIG_I2C_ALGOPCA) += i2c-algo-pca.o

View File

@@ -942,6 +942,7 @@ if I2C_RK29
config RK29_I2C0_CONTROLLER
bool "With i2c controller"
config RK29_I2C0_GPIO
select I2C_GPIO
bool "Simulation with GPIO"
endchoice
endif
@@ -957,6 +958,7 @@ if I2C_RK29
config RK29_I2C1_CONTROLLER
bool "With i2c controller"
config RK29_I2C1_GPIO
select I2C_GPIO
bool "Simulation with GPIO"
endchoice
endif
@@ -973,6 +975,7 @@ if I2C_RK29
config RK29_I2C2_CONTROLLER
bool "With i2c controller"
config RK29_I2C2_GPIO
select I2C_GPIO
bool "Simulation with GPIO"
endchoice
endif
@@ -989,6 +992,7 @@ if I2C_RK29
config RK29_I2C3_CONTROLLER
bool "With i2c controller"
config RK29_I2C3_GPIO
select I2C_GPIO
bool "Simulation with GPIO"
endchoice
endif

View File

@@ -4,7 +4,6 @@
obj-$(CONFIG_I2C_RK29) += i2c-rk29.o
obj-$(CONFIG_I2C_DEV_RK29) += i2c-dev-rk29.o
obj-$(CONFIG_I2C_RK30) += i2c-rk30.o i2c-rk29-adapter.o i2c-rk30-adapter.o i2c-rk30-test.o
obj-y += i2c-gpio.o
# ACPI drivers
obj-$(CONFIG_I2C_SCMI) += i2c-scmi.o