staging: bcm2835-codec: Fix declaration of roles

The static role text is declared incorrectly. The static should be
first, and the roles should also be constified.

Convert from "const static char *" to "static const char * const".

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Kieran Bingham
2019-03-20 11:42:39 +00:00
committed by Phil Elwell
parent b9e153a431
commit ec15e9aea5

View File

@@ -77,7 +77,7 @@ enum bcm2835_codec_role {
ISP,
};
const static char *roles[] = {
static const char * const roles[] = {
"decode",
"encode",
"isp"