Skip to content

Commit

Permalink
watchdog: cadence: Remove DECLARE_GLOBAL_DATA_PTR from driver
Browse files Browse the repository at this point in the history
gd is not used in the driver that's why declaration is not needed at all.

Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
Michal Simek committed Apr 6, 2020
1 parent 25de8a8 commit f7e296d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/watchdog/cdns_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit f7e296d

Please sign in to comment.