diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-07-14 14:05:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-07-14 14:05:12 +0000 |
commit | 8d5d96e8338d436d6e46925932b687fa875a072a (patch) | |
tree | 2f29408c0b63117563142f9aa9fb8e7c9fd88cf4 /target/linux/ar71xx/patches-3.8/040-MIPS-ath79-use-dynamically-allocated-watchdog-device.patch | |
parent | d1238718c23a818b1be2fca068974d8fb916a599 (diff) | |
download | upstream-8d5d96e8338d436d6e46925932b687fa875a072a.tar.gz upstream-8d5d96e8338d436d6e46925932b687fa875a072a.tar.bz2 upstream-8d5d96e8338d436d6e46925932b687fa875a072a.zip |
ar71xx: remove linux 3.8
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37290
Diffstat (limited to 'target/linux/ar71xx/patches-3.8/040-MIPS-ath79-use-dynamically-allocated-watchdog-device.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.8/040-MIPS-ath79-use-dynamically-allocated-watchdog-device.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/target/linux/ar71xx/patches-3.8/040-MIPS-ath79-use-dynamically-allocated-watchdog-device.patch b/target/linux/ar71xx/patches-3.8/040-MIPS-ath79-use-dynamically-allocated-watchdog-device.patch deleted file mode 100644 index 082195f31a..0000000000 --- a/target/linux/ar71xx/patches-3.8/040-MIPS-ath79-use-dynamically-allocated-watchdog-device.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 5e25d5207d21e65b5a2e58b64aba6804653e95b8 Mon Sep 17 00:00:00 2001 -From: Gabor Juhos <juhosg@openwrt.org> -Date: Thu, 27 Dec 2012 15:38:25 +0100 -Subject: [PATCH] MIPS: ath79: use dynamically allocated watchdog device - -commit 0f2ad9ed7c6fecb008372e8a709595a2a21059aa upstream. - -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: Gabor Juhos <juhosg@openwrt.org> -Signed-off-by: Wim Van Sebroeck <wim@iguana.be> ---- - arch/mips/ath79/dev-common.c | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - ---- a/arch/mips/ath79/dev-common.c -+++ b/arch/mips/ath79/dev-common.c -@@ -102,12 +102,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); - } |