On Saturday 10 January 2009, Samuel Ortiz wrote:
> > --- a/drivers/mfd/twl4030-core.c
> > +++ b/drivers/mfd/twl4030-core.c
> > @@ -38,6 +38,7 @@
> > #include <linux/i2c.h>
> > #include <linux/i2c/twl4030.h>
> >
> > +#include <mach/cpu.h>
> That will break the build on !ARM for this driver.
What needs to happen with twl4030-core.c is IMO this:
- Near term:
* revert 6354ab5c63bc986bf539026a1b289cc142f6e87c
and just make the driver depend on HAVE_CLK
* #ifdef CONFIG_ARM do the #include <mach/cpu.h>
- Longer term:
* get rid of that remaining OMAP dependency
somehow (RMK's comment is the right direction,
but insufficient).
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html