提交 ddd43b06 编写于 作者: P Paul Mundt

sh: section mismatch fixes for system timer.

Fix up a couple of section mismatch warnings regarding sys_timer.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 cdb7532f
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <linux/string.h> #include <linux/string.h>
#include <asm/timer.h> #include <asm/timer.h>
static struct sys_timer *sys_timers[] __initdata = { static struct sys_timer *sys_timers[] = {
#ifdef CONFIG_SH_TMU #ifdef CONFIG_SH_TMU
&tmu_timer, &tmu_timer,
#endif #endif
...@@ -26,7 +26,7 @@ static struct sys_timer *sys_timers[] __initdata = { ...@@ -26,7 +26,7 @@ static struct sys_timer *sys_timers[] __initdata = {
NULL, NULL,
}; };
static char timer_override[10] __initdata; static char timer_override[10];
static int __init timer_setup(char *str) static int __init timer_setup(char *str)
{ {
if (str) if (str)
...@@ -53,4 +53,3 @@ struct sys_timer *get_sys_timer(void) ...@@ -53,4 +53,3 @@ struct sys_timer *get_sys_timer(void)
return NULL; return NULL;
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册