[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>
This commit is contained in:
Jochen Friedrich 2008-05-07 04:40:01 +10:00 committed by Paul Mackerras
parent 76bc080ef5
commit 8af302e2dc

View File

@ -14,11 +14,7 @@
#include <linux/i2c.h> #include <linux/i2c.h>
#ifdef CONFIG_OF_I2C
void of_register_i2c_devices(struct i2c_adapter *adap, void of_register_i2c_devices(struct i2c_adapter *adap,
struct device_node *adap_node); struct device_node *adap_node);
#endif /* CONFIG_OF_I2C */
#endif /* __LINUX_OF_I2C_H */ #endif /* __LINUX_OF_I2C_H */