OSDN Git Service

MIPS: BCM63XX: Provide platform data to watchdog device
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 12 Nov 2021 22:46:35 +0000 (14:46 -0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Tue, 28 Dec 2021 13:03:02 +0000 (14:03 +0100)
commitb844f9181b4a1014d501a26dc25b39f363626b8c
treec23238d6b518fa018e00aff6a5c5119e9f557686
parente764faef774b931994d31a856d786734691ab26e
MIPS: BCM63XX: Provide platform data to watchdog device

In order to utilize the bcm7038_wdt.c driver which needs to know the
clock name to obtain, pass it via platform data using the
bcm7038_wdt_platform_data structure.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20211112224636.395101-7-f.fainelli@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
arch/mips/bcm63xx/dev-wdt.c