warning: 'pixel' may be used uninitialized in this function

Signed-off-by: Hiroshi DOYU <[EMAIL PROTECTED]>
---
 drivers/video/omap/lcd_mipid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/omap/lcd_mipid.c b/drivers/video/omap/lcd_mipid.c
index 5dcca82..8b11f73 100644
--- a/drivers/video/omap/lcd_mipid.c
+++ b/drivers/video/omap/lcd_mipid.c
@@ -267,7 +267,7 @@ static unsigned long mipid_get_caps(struct lcd_panel *panel)
 
 static u16 read_first_pixel(struct mipid_device *md)
 {
-       u16 pixel;
+       u16 uninitialized_var(pixel);
        u8 red, green, blue;
 
        mutex_lock(&md->mutex);
-- 
1.6.0.2.229.g1293c

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

Reply via email to