diff options
author | Márton Németh <nm127@freemail.hu> | 2010-01-05 12:39:02 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 15:10:29 -0300 |
commit | aabcdfb65be31d7f9486d1400fa217c8827dddd3 (patch) | |
tree | 07a47155ad92e4aa9f1f595653e032cac20270b3 /drivers/media/video/gspca/etoms.c | |
parent | 52a9d3ef0034f29cef1c5616faa72aa394b01b65 (diff) | |
download | talos-op-linux-aabcdfb65be31d7f9486d1400fa217c8827dddd3.tar.gz talos-op-linux-aabcdfb65be31d7f9486d1400fa217c8827dddd3.zip |
V4L/DVB (13898): gspca - some subdrivers: Make sd_desc const.
The function callbacks in sd_desc are defined at compile time and
they do not change at runtime. Make the sd_desc initializations const.
Signed-off-by: Márton Németh <nm127@freemail.hu>
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/etoms.c')
-rw-r--r-- | drivers/media/video/gspca/etoms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/etoms.c b/drivers/media/video/gspca/etoms.c index fdf4c0ec5e7a..87ce6af9cef2 100644 --- a/drivers/media/video/gspca/etoms.c +++ b/drivers/media/video/gspca/etoms.c @@ -851,7 +851,7 @@ static int sd_getautogain(struct gspca_dev *gspca_dev, __s32 *val) } /* sub-driver description */ -static struct sd_desc sd_desc = { +static const struct sd_desc sd_desc = { .name = MODULE_NAME, .ctrls = sd_ctrls, .nctrls = ARRAY_SIZE(sd_ctrls), |