diff options
author | Mike Isely <isely@pobox.com> | 2008-03-02 18:05:19 -0600 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2008-03-02 18:05:19 -0600 |
commit | f241b8900910f345cc67c632cac67d37786d3727 (patch) | |
tree | 8909e4dab5d59a58bb350678f87a52b9ac7ae546 | |
parent | cf9e22106cd4b136f258841595dfce7dff6f1b69 (diff) | |
download | mediapointer-dvb-s2-f241b8900910f345cc67c632cac67d37786d3727.tar.gz mediapointer-dvb-s2-f241b8900910f345cc67c632cac67d37786d3727.tar.bz2 |
pvrusb2: Fix storage-class as per C99 spec
From: Tobias Klauser <tklauser@distanz.ch>
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>
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c index c92cc3365..77edc72a2 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c @@ -1513,7 +1513,7 @@ struct pvr2_std_hack { default - which can always be overridden explicitly - and if the user has otherwise named a default then that default will always be used in place of this table. */ -const static struct pvr2_std_hack std_eeprom_maps[] = { +static const struct pvr2_std_hack std_eeprom_maps[] = { { /* PAL(B/G) */ .pat = V4L2_STD_B|V4L2_STD_GH, .std = V4L2_STD_PAL_B|V4L2_STD_PAL_B1|V4L2_STD_PAL_G, @@ -3787,7 +3787,7 @@ static int state_update_pipeline_state(struct pvr2_hdw *hdw) typedef int (*state_eval_func)(struct pvr2_hdw *); /* Set of functions to be run to evaluate various states in the driver. */ -const static state_eval_func eval_funcs[] = { +static const state_eval_func eval_funcs[] = { state_eval_pathway_ok, state_eval_pipeline_config, state_eval_encoder_ok, |