diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-04 11:29:54 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 11:00:55 -0700 |
commit | 0d99b6eb851fbea9e31ad23f70c8f9fbefd6e4e8 (patch) | |
tree | 29e955d9f3384b23a9ddf9136ec1c3f83b54f526 /drivers/staging/asus_oled/asus_oled.c | |
parent | 04b17c935bb4066bf036b338f46ed253bcf34b70 (diff) | |
download | op-kernel-dev-0d99b6eb851fbea9e31ad23f70c8f9fbefd6e4e8.zip op-kernel-dev-0d99b6eb851fbea9e31ad23f70c8f9fbefd6e4e8.tar.gz |
Staging: asus_oled: fix build warnings
This fixes some build warnings in the asus_oled driver.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/asus_oled/asus_oled.c')
-rw-r--r-- | drivers/staging/asus_oled/asus_oled.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/asus_oled/asus_oled.c b/drivers/staging/asus_oled/asus_oled.c index 04dde4b..9270f5d 100644 --- a/drivers/staging/asus_oled/asus_oled.c +++ b/drivers/staging/asus_oled/asus_oled.c @@ -516,7 +516,7 @@ static ssize_t odev_set_picture(struct asus_oled_dev *odev, const char *buf, siz max_offs = odev->width * odev->height; while (offs < count && odev->buf_offs < max_offs) { - int ret; + int ret = 0; if (buf[offs] == '1' || buf[offs] == '#') { ret = append_values(odev, 1, 1); |