watchdog: cadence: Remove DECLARE_GLOBAL_DATA_PTR from driver
authorMichal Simek <michal.simek@xilinx.com>
Mon, 9 Mar 2020 07:44:43 +0000 (08:44 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 6 Apr 2020 10:52:45 +0000 (12:52 +0200)
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>
drivers/watchdog/cdns_wdt.c

index 775f06a6e1c20b46ab86affbbc76794f9b320d16..5bf02605a884c9432e61e665310e189d70173822 100644 (file)
@@ -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 */