提交 cda03a9a 编写于 作者: P Philippe Mazenauer 提交者: Daniel Lezcano

clocksource/drivers/timer-ti-dm: Change to new style declaration

Variable 'dmtimer_ops' was declared const static instead of static const.

../drivers/clocksource/timer-ti-dm.c:899:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
 const static struct omap_dm_timer_ops dmtimer_ops = {
 ^~~~~
Signed-off-by: NPhilippe Mazenauer <philippe.mazenauer@outlook.de>
Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
上级 4dde821e
...@@ -896,7 +896,7 @@ static int omap_dm_timer_remove(struct platform_device *pdev) ...@@ -896,7 +896,7 @@ static int omap_dm_timer_remove(struct platform_device *pdev)
return ret; return ret;
} }
const static struct omap_dm_timer_ops dmtimer_ops = { static const struct omap_dm_timer_ops dmtimer_ops = {
.request_by_node = omap_dm_timer_request_by_node, .request_by_node = omap_dm_timer_request_by_node,
.request_specific = omap_dm_timer_request_specific, .request_specific = omap_dm_timer_request_specific,
.request = omap_dm_timer_request, .request = omap_dm_timer_request,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册