Commit ceb8a12f authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Greg Kroah-Hartman
Browse files

drivers/fsi: fix fsi_slave_mode prototype

gcc warns about the return type of this function:

drivers/fsi/fsi-core.c:535:8: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]

This removes the 'const' attribute, as suggested by the warning.

Fixes: 2b37c3e2

 ("drivers/fsi: Set slave SMODE to init communication")
Signed-off-by: default avatarArnd Bergmann <>
Acked-by: default avatarGeert Uytterhoeven <>
Acked-by: default avatarJeremy Kerr <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 496f8931
......@@ -532,7 +532,7 @@ static inline uint32_t fsi_smode_sid(int x)
static const uint32_t fsi_slave_smode(int id)
static uint32_t fsi_slave_smode(int id)
| fsi_smode_sid(id)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment