From 9b9dd231b5e8ddc5176e8fa98f9609ae5b99920c Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 27 Dec 2012 15:38:25 +0100 Subject: [PATCH] --- yaml --- r: 360586 b: refs/heads/master c: 0f2ad9ed7c6fecb008372e8a709595a2a21059aa h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/mips/ath79/dev-common.c | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index b84686985a52..acd673fbfb6f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5071a88475b758bf60191e53606463fe7290c71e +refs/heads/master: 0f2ad9ed7c6fecb008372e8a709595a2a21059aa diff --git a/trunk/arch/mips/ath79/dev-common.c b/trunk/arch/mips/ath79/dev-common.c index 45efc63b08b6..2093b1b2a1d1 100644 --- a/trunk/arch/mips/ath79/dev-common.c +++ b/trunk/arch/mips/ath79/dev-common.c @@ -101,12 +101,7 @@ void __init ath79_register_uart(void) } } -static struct platform_device ath79_wdt_device = { - .name = "ath79-wdt", - .id = -1, -}; - void __init ath79_register_wdt(void) { - platform_device_register(&ath79_wdt_device); + platform_device_register_simple("ath79-wdt", -1, NULL, 0); }