public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Riku Voipio <riku.voipio@iki.fi>
To: Jarkko Nikula <jarkko.nikula@nokia.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH] ARM: OMAP2: Fix Nokia N8x0 second I2C bus device registration
Date: Mon, 1 Sep 2008 22:11:30 +0300	[thread overview]
Message-ID: <20080901191130.GA8837@kos.to> (raw)
In-Reply-To: <1220274304-23744-1-git-send-email-jarkko.nikula@nokia.com>

On Mon, Sep 01, 2008 at 04:05:04PM +0300, Jarkko Nikula wrote:
> - TSL2563 and LP5521 are found only in N810
> - Fix one typo

> Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>

Acked-by: Riku voipio <riku.voipio@iki.fi>

> ---
>  arch/arm/mach-omap2/board-n800.c |   14 +++++++-------
>  1 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/board-n800.c b/arch/arm/mach-omap2/board-n800.c
> index 95cc84a..1df9f3d 100644
> --- a/arch/arm/mach-omap2/board-n800.c
> +++ b/arch/arm/mach-omap2/board-n800.c
> @@ -649,12 +649,6 @@ static struct i2c_board_info __initdata_or_module n8x0_i2c_board_info_2[] = {
>  		.platform_data = &n800_tcm825x_platform_data,
>  #endif
>  	},
> -	{
> -		I2C_BOARD_INFO("tsl2563", 0x29),
> -	},
> -	{
> -		I2C_BOARD_INFO("lp5521", 0x32),
> -	},
>  };
>  
>  
> @@ -670,6 +664,12 @@ static struct i2c_board_info __initdata_or_module n810_i2c_board_info_2[] = {
>  		.irq		= OMAP_GPIO_IRQ(109),
>  		.platform_data	= &lm8323_pdata,
>  	},
> +	{
> +		I2C_BOARD_INFO("tsl2563", 0x29),
> +	},
> +	{
> +		I2C_BOARD_INFO("lp5521", 0x32),
> +	},
>  };
>  
>  void __init nokia_n800_common_init(void)
> @@ -694,7 +694,7 @@ void __init nokia_n800_common_init(void)
>  	omap_register_i2c_bus(1, 400, n800_i2c_board_info_1,
>  			      ARRAY_SIZE(n800_i2c_board_info_1));
>  	omap_register_i2c_bus(2, 400, n8x0_i2c_board_info_2,
> -			      ARRAY_SIZE(n800_i2c_board_info_2));
> +			      ARRAY_SIZE(n8x0_i2c_board_info_2));
>  	if (machine_is_nokia_n800())
>  		i2c_register_board_info(2, n800_i2c_board_info_2,
>  			ARRAY_SIZE(n800_i2c_board_info_2));
> -- 
> 1.5.6.3

-- 
"rm -rf" only sounds scary if you don't have backups

  reply	other threads:[~2008-09-01 19:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-01 13:05 [PATCH] ARM: OMAP2: Fix Nokia N8x0 second I2C bus device registration Jarkko Nikula
2008-09-01 19:11 ` Riku Voipio [this message]
2008-09-05 16:11   ` Tony Lindgren

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=20080901191130.GA8837@kos.to \
    --to=riku.voipio@iki.fi \
    --cc=jarkko.nikula@nokia.com \
    --cc=linux-omap@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox