diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-06-08 09:48:18 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-07-05 18:14:52 -0400 |
commit | 9fd049927ccba1c1d0343239b82f28c4e07fb95d (patch) | |
tree | e7d86e42e2643e1376c102f00c0e76d14cf65f86 /drivers/of/Kconfig | |
parent | 4f0ddcb020ef8afae65b4edb9aeb4a42ab74f4cf (diff) |
of/i2c: Generalize OF support
This patch cleans up the i2c OF support code to make it selectable by
all architectures and allow for automatic registration of i2c devices.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/of/Kconfig')
-rw-r--r-- | drivers/of/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index 097f42aebe90..80dd6318db68 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig | |||
@@ -26,7 +26,7 @@ config OF_GPIO | |||
26 | 26 | ||
27 | config OF_I2C | 27 | config OF_I2C |
28 | def_tristate I2C | 28 | def_tristate I2C |
29 | depends on (PPC_OF || MICROBLAZE) && I2C | 29 | depends on OF && !SPARC && I2C |
30 | help | 30 | help |
31 | OpenFirmware I2C accessors | 31 | OpenFirmware I2C accessors |
32 | 32 | ||