diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-12-29 05:49:41 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:40:07 -0500 |
commit | cc611b8aef7a8a9a2e614f1bdf3e2b8f066c8c8d (patch) | |
tree | 1d05177ca24588bbeba596f44704af4bf109b16b /drivers/media/video/gspca/gspca.h | |
parent | 4c98834addfee3fdd42c505c37569261bf669d94 (diff) |
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; | |||
56 | /* device information - set at probe time */ | 56 | /* device information - set at probe time */ |
57 | struct cam { | 57 | struct cam { |
58 | int bulk_size; /* buffer size when image transfer by bulk */ | 58 | int bulk_size; /* buffer size when image transfer by bulk */ |
59 | struct v4l2_pix_format *cam_mode; /* size nmodes */ | 59 | const struct v4l2_pix_format *cam_mode; /* size nmodes */ |
60 | char nmodes; | 60 | char nmodes; |
61 | __u8 bulk_nurbs; /* number of URBs in bulk mode | 61 | __u8 bulk_nurbs; /* number of URBs in bulk mode |
62 | * - cannot be > MAX_NURBS | 62 | * - cannot be > MAX_NURBS |