Skip to content

Commit cda03a9

Browse files
Philippe Mazenauerdlezcano
authored andcommitted
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: Philippe Mazenauer <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]>
1 parent 4dde821 commit cda03a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clocksource/timer-ti-dm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ static int omap_dm_timer_remove(struct platform_device *pdev)
896896
return ret;
897897
}
898898

899-
const static struct omap_dm_timer_ops dmtimer_ops = {
899+
static const struct omap_dm_timer_ops dmtimer_ops = {
900900
.request_by_node = omap_dm_timer_request_by_node,
901901
.request_specific = omap_dm_timer_request_specific,
902902
.request = omap_dm_timer_request,

0 commit comments

Comments
 (0)