Commit 8b785b9d authored by Mark Brown's avatar Mark Brown Committed by Sascha Hauer

mx31ads: Make unexported data static

Keeps sparse happy.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent 4d5f9cda
...@@ -221,13 +221,13 @@ static struct map_desc mx31ads_io_desc[] __initdata = { ...@@ -221,13 +221,13 @@ static struct map_desc mx31ads_io_desc[] __initdata = {
/*! /*!
* Set up static virtual mappings. * Set up static virtual mappings.
*/ */
void __init mx31ads_map_io(void) static void __init mx31ads_map_io(void)
{ {
mxc_map_io(); mxc_map_io();
iotable_init(mx31ads_io_desc, ARRAY_SIZE(mx31ads_io_desc)); iotable_init(mx31ads_io_desc, ARRAY_SIZE(mx31ads_io_desc));
} }
void __init mx31ads_init_irq(void) static void __init mx31ads_init_irq(void)
{ {
mxc_init_irq(); mxc_init_irq();
mx31ads_init_expio(); mx31ads_init_expio();
...@@ -247,7 +247,7 @@ static void __init mx31ads_timer_init(void) ...@@ -247,7 +247,7 @@ static void __init mx31ads_timer_init(void)
mx31_clocks_init(26000000); mx31_clocks_init(26000000);
} }
struct sys_timer mx31ads_timer = { static struct sys_timer mx31ads_timer = {
.init = mx31ads_timer_init, .init = mx31ads_timer_init,
}; };
......
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