linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] OMAPDSS: Add terminating entry for picodlp_i2c_id table
@ 2012-11-30  4:30 Axel Lin
  2012-11-30  8:54 ` Tomi Valkeinen
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2012-11-30  4:30 UTC (permalink / raw)
  To: Archit Taneja; +Cc: Mythri P K, Tomi Valkeinen, linux-omap, linux-kernel

The i2c_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/video/omap2/displays/panel-picodlp.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/omap2/displays/panel-picodlp.c b/drivers/video/omap2/displays/panel-picodlp.c
index e3a6c19..1b94018 100644
--- a/drivers/video/omap2/displays/panel-picodlp.c
+++ b/drivers/video/omap2/displays/panel-picodlp.c
@@ -50,6 +50,7 @@ struct picodlp_i2c_data {
 
 static struct i2c_device_id picodlp_i2c_id[] = {
 	{ "picodlp_i2c_driver", 0 },
+	{ }
 };
 
 struct picodlp_i2c_command {
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] OMAPDSS: Add terminating entry for picodlp_i2c_id table
  2012-11-30  4:30 [PATCH] OMAPDSS: Add terminating entry for picodlp_i2c_id table Axel Lin
@ 2012-11-30  8:54 ` Tomi Valkeinen
  0 siblings, 0 replies; 2+ messages in thread
From: Tomi Valkeinen @ 2012-11-30  8:54 UTC (permalink / raw)
  To: Axel Lin; +Cc: Archit Taneja, Mythri P K, linux-omap, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

Hi,

On 2012-11-30 06:30, Axel Lin wrote:
> The i2c_device_id table is supposed to be zero-terminated.
> 
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
>  drivers/video/omap2/displays/panel-picodlp.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/video/omap2/displays/panel-picodlp.c b/drivers/video/omap2/displays/panel-picodlp.c
> index e3a6c19..1b94018 100644
> --- a/drivers/video/omap2/displays/panel-picodlp.c
> +++ b/drivers/video/omap2/displays/panel-picodlp.c
> @@ -50,6 +50,7 @@ struct picodlp_i2c_data {
>  
>  static struct i2c_device_id picodlp_i2c_id[] = {
>  	{ "picodlp_i2c_driver", 0 },
> +	{ }
>  };
>  
>  struct picodlp_i2c_command {

Thanks, I'll apply to omapdss tree.

 Tomi




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 899 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-30  8:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-30  4:30 [PATCH] OMAPDSS: Add terminating entry for picodlp_i2c_id table Axel Lin
2012-11-30  8:54 ` Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).