diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-12-13 11:55:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-12-13 11:55:11 +0000 |
commit | 45380ebd1ab3d604ece3dd14a84f89fbc69ea7b1 (patch) | |
tree | 816e479975bb22e39e9cbdde8fdfb400f38f72a9 /target/linux/brcm2708/patches-3.10/0166-bcm2708-Allow-disk-activity-led-gpio-to-be-specified.patch | |
parent | 170ce2961703fe3c2c74e9aa3088df2905b3697e (diff) | |
download | upstream-45380ebd1ab3d604ece3dd14a84f89fbc69ea7b1.tar.gz upstream-45380ebd1ab3d604ece3dd14a84f89fbc69ea7b1.tar.bz2 upstream-45380ebd1ab3d604ece3dd14a84f89fbc69ea7b1.zip |
brcm2708: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43687
Diffstat (limited to 'target/linux/brcm2708/patches-3.10/0166-bcm2708-Allow-disk-activity-led-gpio-to-be-specified.patch')
-rw-r--r-- | target/linux/brcm2708/patches-3.10/0166-bcm2708-Allow-disk-activity-led-gpio-to-be-specified.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/target/linux/brcm2708/patches-3.10/0166-bcm2708-Allow-disk-activity-led-gpio-to-be-specified.patch b/target/linux/brcm2708/patches-3.10/0166-bcm2708-Allow-disk-activity-led-gpio-to-be-specified.patch deleted file mode 100644 index a333f58f27..0000000000 --- a/target/linux/brcm2708/patches-3.10/0166-bcm2708-Allow-disk-activity-led-gpio-to-be-specified.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 6fa3166b901b1f3a88e52c232c09df48c430303d Mon Sep 17 00:00:00 2001 -From: popcornmix <popcornmix@gmail.com> -Date: Tue, 11 Feb 2014 17:03:51 +0000 -Subject: [PATCH 166/196] bcm2708: Allow disk activity led gpio to be specified - ---- - arch/arm/mach-bcm2708/bcm2708.c | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/arch/arm/mach-bcm2708/bcm2708.c b/arch/arm/mach-bcm2708/bcm2708.c -index 993379c..caa9f48 100644 ---- a/arch/arm/mach-bcm2708/bcm2708.c -+++ b/arch/arm/mach-bcm2708/bcm2708.c -@@ -83,6 +83,8 @@ - /* command line parameters */ - static unsigned boardrev, serial; - static unsigned uart_clock; -+static unsigned disk_led_gpio = 16; -+static unsigned disk_led_active_low = 1; - static unsigned reboot_part = 0; - static unsigned w1_gpio_pin = W1_GPIO; - -@@ -965,7 +967,9 @@ static struct platform_device bcm2708_led_device = { - - static void __init bcm2708_init_led(void) - { -- platform_device_register(&bcm2708_led_device); -+ bcm2708_leds[0].gpio = disk_led_gpio; -+ bcm2708_leds[0].active_low = disk_led_active_low; -+ platform_device_register(&bcm2708_led_device); - } - #else - static inline void bcm2708_init_led(void) -@@ -1004,5 +1008,7 @@ MACHINE_END - module_param(boardrev, uint, 0644); - module_param(serial, uint, 0644); - module_param(uart_clock, uint, 0644); -+module_param(disk_led_gpio, uint, 0644); -+module_param(disk_led_active_low, uint, 0644); - module_param(reboot_part, uint, 0644); - module_param(w1_gpio_pin, uint, 0644); --- -1.9.1 - |