summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Friedrich <jochen@scram.de>2008-05-06 22:40:01 +0400
committerPaul Mackerras <paulus@samba.org>2008-05-09 14:22:58 +0400
commit8af302e2dc91d4229968b8eedd4b45c0dd9fc717 (patch)
tree85a2481fc31119b1d64a7b5a619d0bc62b2097bc
parent76bc080ef5a34aedb63e1691f28c6b42f3468e4e (diff)
downloadlinux-8af302e2dc91d4229968b8eedd4b45c0dd9fc717.tar.xz
[POWERPC] Fix of_i2c include for module compilation
Remove #ifdef CONFIG_OF_I2C as this breaks module compilation. Drivers using this header should depend on OF_I2C anyways, so there's no need to make this conditional. Signed-off-by: Jochen Friedrich <jochen@scram.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--include/linux/of_i2c.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/of_i2c.h b/include/linux/of_i2c.h
index 2e5a96732042..bd2a870ec296 100644
--- a/include/linux/of_i2c.h
+++ b/include/linux/of_i2c.h
@@ -14,11 +14,7 @@
#include <linux/i2c.h>
-#ifdef CONFIG_OF_I2C
-
void of_register_i2c_devices(struct i2c_adapter *adap,
struct device_node *adap_node);
-#endif /* CONFIG_OF_I2C */
-
#endif /* __LINUX_OF_I2C_H */