From patchwork Mon Mar 9 07:50:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 243415 List-Id: U-Boot discussion From: michal.simek at xilinx.com (Michal Simek) Date: Mon, 9 Mar 2020 08:50:35 +0100 Subject: [PATCH] watchdog: cadence: Remove DECLARE_GLOBAL_DATA_PTR from driver Message-ID: <1d46d5097e0ea6942c94dca68aeabd6dca4e6f2a.1583740233.git.michal.simek@xilinx.com> gd is not used in the driver that's why declaration is not needed at all. Signed-off-by: Michal Simek --- drivers/watchdog/cdns_wdt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/watchdog/cdns_wdt.c b/drivers/watchdog/cdns_wdt.c index 775f06a6e1c2..5bf02605a884 100644 --- a/drivers/watchdog/cdns_wdt.c +++ b/drivers/watchdog/cdns_wdt.c @@ -15,8 +15,6 @@ #include #include -DECLARE_GLOBAL_DATA_PTR; - struct cdns_regs { u32 zmr; /* WD Zero mode register, offset - 0x0 */ u32 ccr; /* Counter Control Register offset - 0x4 */