summaryrefslogtreecommitdiff
path: root/drivers/timer
diff options
context:
space:
mode:
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>2019-05-09 22:11:55 +0200
committerMarek Vasut <marex@denx.de>2019-05-10 22:48:11 +0200
commit460a97f3a2d4308b804f833b1a0beb0cf92c925e (patch)
treed2c69119c819bcbca0d09cf5da63ad6d030d04f7 /drivers/timer
parent8ede7515fe50f670f7a7835a24e0cff7596b6c16 (diff)
timer: dw-apb: remove unused DECLARE_GLOBAL_DATA_PTR
The dw-apb timer does not use 'gd', so remove its declaration. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Diffstat (limited to 'drivers/timer')
-rw-r--r--drivers/timer/dw-apb-timer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/timer/dw-apb-timer.c b/drivers/timer/dw-apb-timer.c
index cb48801af1..86312b8dc7 100644
--- a/drivers/timer/dw-apb-timer.c
+++ b/drivers/timer/dw-apb-timer.c
@@ -17,8 +17,6 @@
#define DW_APB_CURR_VAL 0x4
#define DW_APB_CTRL 0x8
-DECLARE_GLOBAL_DATA_PTR;
-
struct dw_apb_timer_priv {
fdt_addr_t regs;
};