diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-12-10 17:21:59 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-01-17 14:31:35 +0100 |
commit | bc41797a56e7995dd5f5502dd737b1e53c8e0410 (patch) | |
tree | d93d712eee0c4b6c356dfc22636a61b7d0a78a90 /drivers/media/video/gspca/ov534.c | |
parent | V4L/DVB (13834): dib8000: fix compilation if !DVB_DIB8000 (diff) | |
download | linux-bc41797a56e7995dd5f5502dd737b1e53c8e0410.tar.xz linux-bc41797a56e7995dd5f5502dd737b1e53c8e0410.zip |
V4L/DVB (13622): gspca - ov534: Fix a compilation warning.
This warning prevented the sharpness setting to work with the ov965x sensor.
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/ov534.c')
-rw-r--r-- | drivers/media/video/gspca/ov534.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/ov534.c b/drivers/media/video/gspca/ov534.c index 4dbb882c83dc..0a6b8f07a69d 100644 --- a/drivers/media/video/gspca/ov534.c +++ b/drivers/media/video/gspca/ov534.c @@ -1533,7 +1533,7 @@ static void setexposure_96(struct gspca_dev *gspca_dev) static void setsharpness_96(struct gspca_dev *gspca_dev) { struct sd *sd = (struct sd *) gspca_dev; - u8 val; + s8 val; val = sd->sharpness; if (val < 0) { /* auto */ |