From ba3e8330362953c39b3a9efc8d8141ffa2cf37a0 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 6 Aug 2007 19:25:12 +0000 Subject: [PATCH] More led driver fixes SVN-Revision: 8358 --- target/linux/rdc-2.6/files/drivers/leds/leds-rdc3211.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/rdc-2.6/files/drivers/leds/leds-rdc3211.c b/target/linux/rdc-2.6/files/drivers/leds/leds-rdc3211.c index b45a10e0a6..6a15a16ad5 100644 --- a/target/linux/rdc-2.6/files/drivers/leds/leds-rdc3211.c +++ b/target/linux/rdc-2.6/files/drivers/leds/leds-rdc3211.c @@ -15,11 +15,10 @@ #include #include #include -#include -#include #include +/* This is just for testing purpose */ int gpio; module_param(gpio, int, 0444); MODULE_PARM_DESC(gpio, " GPIO line"); @@ -29,6 +28,7 @@ static void rdc321x_led_set(struct led_classdev *led_cdev, enum led_brightness b gpio_set_value(gpio, brightness ? 1 : 0); } +/* The DMZ led is at GPIO line 1 */ static struct led_classdev rdc321x_dmz_led = { .name = "rdc321x:dmz", .brightness_set = rdc321x_led_set, -- 2.30.2