Re: [PATCH] I2C: TSL2563, LP5521, TEA5761: Refer to id_table in i2c_driver structures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 15, 2008 at 04:48:08PM +0300, Jarkko Nikula wrote:
> Continue following commits since otherwise probe functions are not called.
> 
> 11f26b681796e5f40d83321ea66e6fafa8f121d7
> 5744c1ebdd713c68fc3f1a93942d2baa8d139e79
> 0b80905e9c1f81085069c502662ba122437d6a7c
> 
> Signed-off-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxx>

Thanks Jarkko, forgot to add these on last patches.

Acked-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>

> ---
>  drivers/i2c/chips/lp5521.c          |    1 +
>  drivers/i2c/chips/tsl2563.c         |    1 +
>  drivers/media/radio/radio-tea5761.c |    1 +
>  3 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/i2c/chips/lp5521.c b/drivers/i2c/chips/lp5521.c
> index 254d555..32664c0 100644
> --- a/drivers/i2c/chips/lp5521.c
> +++ b/drivers/i2c/chips/lp5521.c
> @@ -564,6 +564,7 @@ static struct i2c_driver lp5521_driver = {
>  	},
>  	.probe		= lp5521_probe,
>  	.remove		= __devexit_p(lp5521_remove),
> +	.id_table	= lp5521_id,
>  };
>  
>  static int __init lp5521_init(void)
> diff --git a/drivers/i2c/chips/tsl2563.c b/drivers/i2c/chips/tsl2563.c
> index bc58106..ddca5e3 100644
> --- a/drivers/i2c/chips/tsl2563.c
> +++ b/drivers/i2c/chips/tsl2563.c
> @@ -718,6 +718,7 @@ static struct i2c_driver tsl2563_i2c_driver = {
>  	.resume		= tsl2563_resume,
>  	.probe		= tsl2563_probe,
>  	.remove		= __devexit_p(tsl2563_remove),
> +	.id_table	= tsl2563_id,
>  };
>  
>  static int __init tsl2563_init(void)
> diff --git a/drivers/media/radio/radio-tea5761.c b/drivers/media/radio/radio-tea5761.c
> index 34fcd3a..e8ccf29 100644
> --- a/drivers/media/radio/radio-tea5761.c
> +++ b/drivers/media/radio/radio-tea5761.c
> @@ -485,6 +485,7 @@ static struct i2c_driver tea5761_driver = {
>  	},
>  	.probe	= tea5761_i2c_driver_probe,
>  	.remove = __devexit_p(tea5761_i2c_driver_remove),
> +	.id_table = tea5761_id,
>  };
>  
>  static int __init tea5761_init(void)
> -- 
> 1.5.5.1

-- 
	- Balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux