Re: [PATCH 09/46] watchdog: sa1100: use platform device registration

2019-10-22 Thread Guenter Roeck
On 10/22/19 2:44 AM, Arnd Bergmann wrote: On Sat, Oct 19, 2019 at 4:07 PM Guenter Roeck wrote: @@ -319,10 +316,13 @@ static struct platform_device *sa11x0_devices[] __initdata = { static int __init sa1100_init(void) { + struct resource wdt_res = DEFINE_RES_MEM(0x9000, 0x20);

Re: [PATCH 09/46] watchdog: sa1100: use platform device registration

2019-10-22 Thread Arnd Bergmann
On Sat, Oct 19, 2019 at 4:07 PM Guenter Roeck wrote: > > @@ -319,10 +316,13 @@ static struct platform_device *sa11x0_devices[] > > __initdata = { > > > > static int __init sa1100_init(void) > > { > > + struct resource wdt_res = DEFINE_RES_MEM(0x9000, 0x20); > > pm_power_off =

Re: [PATCH 09/46] watchdog: sa1100: use platform device registration

2019-10-19 Thread Guenter Roeck
On 10/18/19 8:41 AM, Arnd Bergmann wrote: 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 Cc: Guenter Roeck Cc:

[PATCH 09/46] watchdog: sa1100: use platform device registration

2019-10-18 Thread Arnd Bergmann
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 Cc: Guenter Roeck Cc: linux-watch...@vger.kernel.org Signed-off-by: Arnd Bergmann