Skip to content
Commit 0f2ad9ed authored by Gabor Juhos's avatar Gabor Juhos Committed by Wim Van Sebroeck
Browse files

MIPS: ath79: use dynamically allocated watchdog device



Remove the static watchdog device variable and use
the 'platform_device_register_simple' helper to
allocate and register the device in one step.

This allows us to save a few bytes in the kernel image.

Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 5071a884
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment