* [PATCHv2 2.6.26-rc1] [POWERPC] Fix of_i2c include for module compilation
@ 2008-05-06 18:40 Jochen Friedrich
0 siblings, 0 replies; only message in thread
From: Jochen Friedrich @ 2008-05-06 18:40 UTC (permalink / raw)
To: Paul Mackerras
Cc: Kumar Gala, Jean Delvare, Scott Wood, Kernel, Linux,
linuxppc-dev list, Linux I2C, Jon Smirl, Laurent Pinchart,
David Miller, Stephen Rothwell
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>
---
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 2e5a967..bd2a870 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 */
--
1.5.5.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-06 18:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-06 18:40 [PATCHv2 2.6.26-rc1] [POWERPC] Fix of_i2c include for module compilation Jochen Friedrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox