V4L/DVB (13950): usb-friio: Storage class should be before const qualifier
authorTobias Klauser <tklauser@distanz.ch>
Wed, 23 Dec 2009 12:53:13 +0000 (09:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:33 +0000 (15:10 -0300)
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: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/friio-fe.c

index ebb7b9fd115b3e1880afd34bbb7782883e681dff..d14bd227b5027b5a0bf0afd4c281e909db12cf38 100644 (file)
@@ -366,7 +366,7 @@ static u8 init_code[][2] = {
        {0x76, 0x0C},
 };
 
-const static int init_code_len = sizeof(init_code) / sizeof(u8[2]);
+static const int init_code_len = sizeof(init_code) / sizeof(u8[2]);
 
 static int jdvbt90502_init(struct dvb_frontend *fe)
 {