]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: sa1100: use platform device registration
authorArnd Bergmann <arnd@arndb.de>
Sun, 8 Sep 2019 20:33:51 +0000 (22:33 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 19 Apr 2022 19:33:57 +0000 (21:33 +0200)
commit21667480ab65ec06e38cf8d86a0d7c4119fcda42
treed4973a357656f2ab6af07a4d07c86b6acd389a3c
parenta4b40de79f121c6dd3b787b708bf7e8ce1623a6c
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>
arch/arm/mach-pxa/devices.c
arch/arm/mach-pxa/include/mach/regs-ost.h
arch/arm/mach-pxa/include/mach/reset.h
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/pxa3xx.c
arch/arm/mach-pxa/reset.c
arch/arm/mach-sa1100/generic.c
arch/arm/mach-sa1100/include/mach/reset.h
drivers/watchdog/sa1100_wdt.c