Commit d1700f92 authored by Tomi Valkeinen's avatar Tomi Valkeinen

OMAPDSS: Taal: fix compilation warning

This patch fixes a warning:

drivers/video/omap2/displays/panel-taal.c: In function
‘taal_num_errors_show’:
drivers/video/omap2/displays/panel-taal.c:529: warning: ‘errors’ may be
used uninitialized in this function
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 0e9a126e
......@@ -526,7 +526,7 @@ static ssize_t taal_num_errors_show(struct device *dev,
{
struct omap_dss_device *dssdev = to_dss_device(dev);
struct taal_data *td = dev_get_drvdata(&dssdev->dev);
u8 errors;
u8 errors = 0;
int r;
mutex_lock(&td->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment