Skip to content

Commit

Permalink
Revert "i2c: Fix Kconfig dependencies"
Browse files Browse the repository at this point in the history
This reverts commit 0a57274.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Arnaud Lacombe authored and Mauro Carvalho Chehab committed Nov 22, 2010
1 parent 09899c9 commit dfc518d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
3 changes: 1 addition & 2 deletions drivers/i2c/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ config I2C_HELPER_AUTO
In doubt, say Y.

config I2C_SMBUS
tristate
prompt "SMBus-specific protocols" if !I2C_HELPER_AUTO
tristate "SMBus-specific protocols" if !I2C_HELPER_AUTO
help
Say Y here if you want support for SMBus extensions to the I2C
specification. At the moment, the only supported extension is
Expand Down
12 changes: 0 additions & 12 deletions drivers/i2c/algos/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,3 @@ config I2C_ALGOPCA
tristate "I2C PCA 9564 interfaces"

endmenu

# In automatic configuration mode, we still have to define the
# symbols to avoid unmet dependencies.

if I2C_HELPER_AUTO
config I2C_ALGOBIT
tristate
config I2C_ALGOPCF
tristate
config I2C_ALGOPCA
tristate
endif

0 comments on commit dfc518d

Please sign in to comment.