diff options
Diffstat (limited to 'drivers/clocksource/bcm2835_timer.c')
-rw-r--r-- | drivers/clocksource/bcm2835_timer.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/clocksource/bcm2835_timer.c b/drivers/clocksource/bcm2835_timer.c index bc19f12c20ce..50c68fef944b 100644 --- a/drivers/clocksource/bcm2835_timer.c +++ b/drivers/clocksource/bcm2835_timer.c | |||
@@ -16,7 +16,6 @@ | |||
16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/bcm2835_timer.h> | ||
20 | #include <linux/bitops.h> | 19 | #include <linux/bitops.h> |
21 | #include <linux/clockchips.h> | 20 | #include <linux/clockchips.h> |
22 | #include <linux/clocksource.h> | 21 | #include <linux/clocksource.h> |
@@ -101,7 +100,7 @@ static struct of_device_id bcm2835_time_match[] __initconst = { | |||
101 | {} | 100 | {} |
102 | }; | 101 | }; |
103 | 102 | ||
104 | static void __init bcm2835_time_init(void) | 103 | static void __init bcm2835_timer_init(void) |
105 | { | 104 | { |
106 | struct device_node *node; | 105 | struct device_node *node; |
107 | void __iomem *base; | 106 | void __iomem *base; |
@@ -155,7 +154,5 @@ static void __init bcm2835_time_init(void) | |||
155 | 154 | ||
156 | pr_info("bcm2835: system timer (irq = %d)\n", irq); | 155 | pr_info("bcm2835: system timer (irq = %d)\n", irq); |
157 | } | 156 | } |
158 | 157 | CLOCKSOURCE_OF_DECLARE(bcm2835, "brcm,bcm2835-system-timer", | |
159 | struct sys_timer bcm2835_timer = { | 158 | bcm2835_timer_init); |
160 | .init = bcm2835_time_init, | ||
161 | }; | ||