Re: [PATCH] [POWERPC] Fix of_i2c include for module compilation

2008-05-06 Thread Jochen Friedrich
Hi Paul, >> -#ifdef CONFIG_OF_I2C >> +#if defined(CONFIG_OF_I2C) || defined(CONFIG_OF_I2C_MODULE) >> >> void of_register_i2c_devices(struct i2c_adapter *adap, >> struct device_node *adap_node); > > Why do we have that ifdef there at all? There's only that one > exter

Re: [PATCH] [POWERPC] Fix of_i2c include for module compilation

2008-05-04 Thread Paul Mackerras
Jochen Friedrich writes: > -#ifdef CONFIG_OF_I2C > +#if defined(CONFIG_OF_I2C) || defined(CONFIG_OF_I2C_MODULE) > > void of_register_i2c_devices(struct i2c_adapter *adap, >struct device_node *adap_node); Why do we have that ifdef there at all? There's only that one