1 From 2d17824e8e5b2b6a6b830b8fe26c71a7d396f760 Mon Sep 17 00:00:00 2001
2 From: Kieran Bingham <kieran.bingham@ideasonboard.com>
3 Date: Wed, 20 Mar 2019 11:42:39 +0000
4 Subject: [PATCH 783/806] staging: bcm2835-codec: Fix declaration of roles
6 The static role text is declared incorrectly. The static should be
7 first, and the roles should also be constified.
9 Convert from "const static char *" to "static const char * const".
11 Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
13 .../staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
16 --- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
17 +++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
18 @@ -77,7 +77,7 @@ enum bcm2835_codec_role {
22 -const static char *roles[] = {
23 +static const char * const roles[] = {