瀏覽代碼

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>
Michal Simek 4 年之前
父節點
當前提交
f7e296d6f5
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/watchdog/cdns_wdt.c

+ 0 - 2
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 */