projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25de8a8
)
watchdog: cadence: Remove DECLARE_GLOBAL_DATA_PTR from driver
author
Michal Simek
<michal.simek@xilinx.com>
Mon, 9 Mar 2020 07:44:43 +0000
(08:44 +0100)
committer
Michal 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
patch
|
blob
|
history
diff --git
a/drivers/watchdog/cdns_wdt.c
b/drivers/watchdog/cdns_wdt.c
index 775f06a6e1c20b46ab86affbbc76794f9b320d16..5bf02605a884c9432e61e665310e189d70173822 100644
(file)
--- a/
drivers/watchdog/cdns_wdt.c
+++ b/
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 */