aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-wm8775.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-02-17 20:11:19 +0100
committerAdrian Bunk <bunk@stusta.de>2007-02-17 20:11:19 +0100
commitc5a69d57eb48e36f84c0737b5b24ec277d7dbfba (patch)
treea222d02f4fa9b42e78228cdb106ace4e35bd2ccc /drivers/media/video/pvrusb2/pvrusb2-wm8775.c
parentkernel/printk.c: comment fix (diff)
downloadlinux-dev-c5a69d57eb48e36f84c0737b5b24ec277d7dbfba.tar.xz
linux-dev-c5a69d57eb48e36f84c0737b5b24ec277d7dbfba.zip
Storage class should be before const qualifier
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: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-wm8775.c')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-wm8775.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-wm8775.c b/drivers/media/video/pvrusb2/pvrusb2-wm8775.c
index 2413e5198e16..7794c34c355e 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-wm8775.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-wm8775.c
@@ -126,7 +126,7 @@ static void wm8775_update(struct pvr2_v4l_wm8775 *ctxt)
}
-const static struct pvr2_i2c_handler_functions hfuncs = {
+static const struct pvr2_i2c_handler_functions hfuncs = {
.detach = (void (*)(void *))wm8775_detach,
.check = (int (*)(void *))wm8775_check,
.update = (void (*)(void *))wm8775_update,