summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/include/mach/reset.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-09-08 22:33:51 +0200
committerArnd Bergmann <arnd@arndb.de>2022-04-19 21:33:57 +0200
commite86bd43bcfc579cf8935c1913e92cb76b4ba81c2 (patch)
treed4973a357656f2ab6af07a4d07c86b6acd389a3c /arch/arm/mach-pxa/include/mach/reset.h
parentee84cbd5df2beaf14e8af0955f1ab15ad3f81504 (diff)
watchdog: sa1100: use platform device registration
Rather than relying on machine specific headers to pass down the reboot status and the register locations, use resources and platform_data. Aside from this, keep the changes to a minimum. Cc: Wim Van Sebroeck <wim@linux-watchdog.org> Cc: linux-watchdog@vger.kernel.org Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/reset.h')
-rw-r--r--arch/arm/mach-pxa/include/mach/reset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/include/mach/reset.h b/arch/arm/mach-pxa/include/mach/reset.h
index e1c4d100fd45..963dd190bc13 100644
--- a/arch/arm/mach-pxa/include/mach/reset.h
+++ b/arch/arm/mach-pxa/include/mach/reset.h
@@ -8,8 +8,8 @@
#define RESET_STATUS_GPIO (1 << 3) /* GPIO Reset */
#define RESET_STATUS_ALL (0xf)
-extern unsigned int reset_status;
extern void clear_reset_status(unsigned int mask);
+extern void pxa_register_wdt(unsigned int reset_status);
/**
* init_gpio_reset() - register GPIO as reset generator