[PATCH 4/9] ARM: omap2+: fix building without i2c
Tony Lindgren
tony at atomide.com
Fri Mar 23 13:22:17 EDT 2012
* mathieu.poirier at linaro.org <mathieu.poirier at linaro.org> [120323 10:16]:
> From: Arnd Bergmann <arnd at arndb.de>
>
> A trivial typo causes build breakage when I2C is disabled
> and omap_i2c_reset is set to NULL on OMAP:
>
> omap_hwmod_44xx_data.c:2287:11: error: lvalue required as unary '&' operand
>
> Removing the '&' character solves this.
We are now building in the omap_i2c_reset always, so this
should be revalidated. We currently don't have NULL version
of omap_i2c_reset any longer, so those '&' for functions are
mostly cosmetic right now.
Anyways, at least the commit message should be changed to
be current.
Regards,
Tony
More information about the linux-arm-kernel
mailing list