diff options
author | Jochen Friedrich <jochen@scram.de> | 2008-05-07 04:40:01 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-05-09 20:22:58 +1000 |
commit | 8af302e2dc91d4229968b8eedd4b45c0dd9fc717 (patch) | |
tree | 85a2481fc31119b1d64a7b5a619d0bc62b2097bc /include/linux/of_i2c.h | |
parent | 76bc080ef5a34aedb63e1691f28c6b42f3468e4e (diff) |
[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>
Diffstat (limited to 'include/linux/of_i2c.h')
-rw-r--r-- | include/linux/of_i2c.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/of_i2c.h b/include/linux/of_i2c.h index 2e5a9673204..bd2a870ec29 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 */ |