Re: [PATCH 4/9] ARM: omap2+: fix building without i2c

From: Tony Lindgren
Date: Fri Mar 23 2012 - 13:22:18 EST


* mathieu.poirier@xxxxxxxxxx <mathieu.poirier@xxxxxxxxxx> [120323 10:16]:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/