Blackfin: bf548: make musb_hdrc_config const
PATCH 1/1 Blackfin: bf548: make musb_hdrc_config const
Make these const as they are only stored in the const field of a musb_hdrc_platform_data structure.
Signed-off-by Bhumika Goyal <[email protected]>
---
I could not cross compile the files, so not tested.
arch/blackfin/mach-bf548/boards/cm_bf548.c | 2 +- arch/blackfin/mach-bf548/boards/ezkit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/blackfin/mach-bf548/boards/cm_bf548.c +1 -1
@@ -512,7 +512,7 @@ }, }; -static struct musb_hdrc_config musb_config = { +static const struct musb_hdrc_config musb_config = { .multipoint =0 , .dyn_fifo =0 , .soft_con =1 ,
arch/blackfin/mach-bf548/boards/ezkit.c +1 -1
@@ -655,7 +655,7 @@ }, }; -static struct musb_hdrc_config musb_config = { +static const struct musb_hdrc_config musb_config = { .multipoint =0 , .dyn_fifo =0 , .soft_con =1 ,
Signature · 1 line
1.9.1