aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-03-09 08:44:43 +0100
committerMichal Simek <michal.simek@xilinx.com>2020-04-06 12:52:45 +0200
commitf7e296d6f5121b2d5e02294ee35fb725e3c28fed (patch)
tree1a858d4afe99f538e05bb8eee12a06e2bc839969 /drivers
parent25de8a8d0fd41059a884cb6f5b5032e01bdf8be2 (diff)
downloadu-boot-f7e296d6f5121b2d5e02294ee35fb725e3c28fed.zip
u-boot-f7e296d6f5121b2d5e02294ee35fb725e3c28fed.tar.gz
u-boot-f7e296d6f5121b2d5e02294ee35fb725e3c28fed.tar.bz2
watchdog: cadence: Remove DECLARE_GLOBAL_DATA_PTR from driver
gd is not used in the driver that's why declaration is not needed at all. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/watchdog/cdns_wdt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/watchdog/cdns_wdt.c b/drivers/watchdog/cdns_wdt.c
index 775f06a..5bf0260 100644
--- a/drivers/watchdog/cdns_wdt.c
+++ b/drivers/watchdog/cdns_wdt.c
@@ -15,8 +15,6 @@
#include <linux/err.h>
#include <linux/io.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct cdns_regs {
u32 zmr; /* WD Zero mode register, offset - 0x0 */
u32 ccr; /* Counter Control Register offset - 0x4 */