Skip to content

Commit

Permalink
V4L/DVB (13950): usb-friio: Storage class should be before const qual…
Browse files Browse the repository at this point in the history
…ifier

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>
  • Loading branch information
Tobias Klauser authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 21ead03 commit 7b2d398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/dvb-usb/friio-fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 7b2d398

Please sign in to comment.