diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-04 14:29:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 14:00:55 -0400 |
commit | 0d99b6eb851fbea9e31ad23f70c8f9fbefd6e4e8 (patch) | |
tree | 29e955d9f3384b23a9ddf9136ec1c3f83b54f526 /drivers | |
parent | 04b17c935bb4066bf036b338f46ed253bcf34b70 (diff) |
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')
-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 04dde4b82817..9270f5df0204 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 | |||
516 | max_offs = odev->width * odev->height; | 516 | max_offs = odev->width * odev->height; |
517 | 517 | ||
518 | while (offs < count && odev->buf_offs < max_offs) { | 518 | while (offs < count && odev->buf_offs < max_offs) { |
519 | int ret; | 519 | int ret = 0; |
520 | 520 | ||
521 | if (buf[offs] == '1' || buf[offs] == '#') { | 521 | if (buf[offs] == '1' || buf[offs] == '#') { |
522 | ret = append_values(odev, 1, 1); | 522 | ret = append_values(odev, 1, 1); |