Hi,

On 08/16/2010 04:57 PM, Luke-Jr wrote:
> Signed-off-by: Luke Dashjr <[email protected]>
> ---
>  arch/arm/mach-omap2/board-rx51-peripherals.c |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c 
> b/arch/arm/mach-omap2/board-
> rx51-peripherals.c
> index 9a5eb87..2c694d4 100644
> --- a/arch/arm/mach-omap2/board-rx51-peripherals.c
> +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c
> @@ -739,6 +739,11 @@ static struct i2c_board_info __initdata 
> rx51_peripherals_i2c_board_info_2[] = {
>               .platform_data = &rx51_tsl2563_platform_data,
>       },
>  #endif
> +#if defined(CONFIG_BATTERY_BQ27x00) || defined(CONFIG_BATTERY_BQ27x00_MODULE)
> +     {
> +             I2C_BOARD_INFO("bq27200", 0x55),
> +     },
> +#endif

i don't think the ifdefs are necessary. It won't change much keeping
bq2700 even if it's not enabled.

-- 
balbi
--
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

Reply via email to