mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
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:
committed by
Phil Elwell
parent
b9e153a431
commit
ec15e9aea5
@@ -77,7 +77,7 @@ enum bcm2835_codec_role {
|
||||
ISP,
|
||||
};
|
||||
|
||||
const static char *roles[] = {
|
||||
static const char * const roles[] = {
|
||||
"decode",
|
||||
"encode",
|
||||
"isp"
|
||||
|
||||
Reference in New Issue
Block a user