Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c81010bf authored by Tobias Klauser's avatar Tobias Klauser Committed by Jesper Juhl
Browse files

V4L: 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: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarJesper Juhl <jesper.juhl@gmail.com>
parent b0cdb5e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -126,7 +126,7 @@ set_v4l_control(struct inode *inode,

/* ----------------------------------------------------------------- */

const static unsigned int palette2pixelformat[] = {
static const unsigned int palette2pixelformat[] = {
	[VIDEO_PALETTE_GREY]    = V4L2_PIX_FMT_GREY,
	[VIDEO_PALETTE_RGB555]  = V4L2_PIX_FMT_RGB555,
	[VIDEO_PALETTE_RGB565]  = V4L2_PIX_FMT_RGB565,