[PATCH] OMAPDSS: Add terminating entry for picodlp_i2c_id table

From: Axel Lin
Date: Thu Nov 29 2012 - 23:30:42 EST


The i2c_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
---
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



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/