aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2008-04-22 13:45:45 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:48 -0400
commitebff033039b654b7b5493499babe22c7c1b0d36e (patch)
tree7318934e38d5958bf4c91ec022072054f8834659 /drivers/media/video/pvrusb2
parent794b16072e00d0a40a8c773dd4319fb1e460a632 (diff)
V4L/DVB (7322): pvrusb2: Fix storage-class as per C99 spec
The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index 7e7c570cf830..8bdb807b19b8 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -1502,7 +1502,7 @@ struct pvr2_std_hack {
1502 default - which can always be overridden explicitly - and if the user 1502 default - which can always be overridden explicitly - and if the user
1503 has otherwise named a default then that default will always be used in 1503 has otherwise named a default then that default will always be used in
1504 place of this table. */ 1504 place of this table. */
1505const static struct pvr2_std_hack std_eeprom_maps[] = { 1505static const struct pvr2_std_hack std_eeprom_maps[] = {
1506 { /* PAL(B/G) */ 1506 { /* PAL(B/G) */
1507 .pat = V4L2_STD_B|V4L2_STD_GH, 1507 .pat = V4L2_STD_B|V4L2_STD_GH,
1508 .std = V4L2_STD_PAL_B|V4L2_STD_PAL_B1|V4L2_STD_PAL_G, 1508 .std = V4L2_STD_PAL_B|V4L2_STD_PAL_B1|V4L2_STD_PAL_G,
@@ -3695,7 +3695,7 @@ static int state_update_pipeline_state(struct pvr2_hdw *hdw)
3695typedef int (*state_eval_func)(struct pvr2_hdw *); 3695typedef int (*state_eval_func)(struct pvr2_hdw *);
3696 3696
3697/* Set of functions to be run to evaluate various states in the driver. */ 3697/* Set of functions to be run to evaluate various states in the driver. */
3698const static state_eval_func eval_funcs[] = { 3698static const state_eval_func eval_funcs[] = {
3699 state_eval_pathway_ok, 3699 state_eval_pathway_ok,
3700 state_eval_pipeline_config, 3700 state_eval_pipeline_config,
3701 state_eval_encoder_ok, 3701 state_eval_encoder_ok,