From: Felipe Balbi <me@felipebalbi.com>
To: Luke-Jr <luke@dashjr.org>
Cc: Jarkko Nikula <jhnikula@gmail.com>,
Anton Vorontsov <cbou@mail.ru>,
linux-omap@vger.kernel.org, David Woodhouse <dwmw2@infradead.org>
Subject: Re: [PATCHv2] omap: rx51: Add bq27200 battery platform data
Date: Mon, 16 Aug 2010 17:01:20 +0300 [thread overview]
Message-ID: <4C6944B0.4000202@felipebalbi.com> (raw)
In-Reply-To: <201008160857.25075.luke@dashjr.org>
Hi,
On 08/16/2010 04:57 PM, Luke-Jr wrote:
> Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
> ---
> 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
prev parent reply other threads:[~2010-08-16 14:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-15 6:12 [PATCH] omap: rx51: Add bq27200 battery platform data Luke-Jr
2010-08-16 8:10 ` Jarkko Nikula
2010-08-16 13:57 ` [PATCHv2] " Luke-Jr
2010-08-16 14:01 ` Felipe Balbi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C6944B0.4000202@felipebalbi.com \
--to=me@felipebalbi.com \
--cc=cbou@mail.ru \
--cc=dwmw2@infradead.org \
--cc=jhnikula@gmail.com \
--cc=linux-omap@vger.kernel.org \
--cc=luke@dashjr.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.