From: Michal Simek Date: Mon, 9 Mar 2020 07:44:43 +0000 (+0100) Subject: watchdog: cadence: Remove DECLARE_GLOBAL_DATA_PTR from driver X-Git-Tag: v2020.07-rc1~41^2~4^2~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f7e296d6f5121b2d5e02294ee35fb725e3c28fed;p=oweals%2Fu-boot.git 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 --- diff --git a/drivers/watchdog/cdns_wdt.c b/drivers/watchdog/cdns_wdt.c index 775f06a6e1..5bf02605a8 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 */