diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-12-29 11:49:41 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 12:40:07 +0100 |
commit | cc611b8aef7a8a9a2e614f1bdf3e2b8f066c8c8d (patch) | |
tree | 1d05177ca24588bbeba596f44704af4bf109b16b /drivers/media/video/gspca/gspca.h | |
parent | V4L/DVB (10048): gspca - stv06xx: New subdriver. (diff) | |
download | linux-cc611b8aef7a8a9a2e614f1bdf3e2b8f066c8c8d.tar.xz linux-cc611b8aef7a8a9a2e614f1bdf3e2b8f066c8c8d.zip |
V4L/DVB (10049): gspca - many subdrivers: Set 'const' the pixel format table.
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/gspca.h')
-rw-r--r-- | drivers/media/video/gspca/gspca.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h index 79cef31a5e33..c90af9cb1e07 100644 --- a/drivers/media/video/gspca/gspca.h +++ b/drivers/media/video/gspca/gspca.h @@ -56,7 +56,7 @@ extern int gspca_debug; /* device information - set at probe time */ struct cam { int bulk_size; /* buffer size when image transfer by bulk */ - struct v4l2_pix_format *cam_mode; /* size nmodes */ + const struct v4l2_pix_format *cam_mode; /* size nmodes */ char nmodes; __u8 bulk_nurbs; /* number of URBs in bulk mode * - cannot be > MAX_NURBS |