projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: ag71xx: allow to use port 5 of the AR934x built-in switch
[openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
drivers
/
leds
/
leds-rb750.c
diff --git
a/target/linux/ar71xx/files/drivers/leds/leds-rb750.c
b/target/linux/ar71xx/files/drivers/leds/leds-rb750.c
index
6d99201
..
4046944
100644
(file)
--- a/
target/linux/ar71xx/files/drivers/leds/leds-rb750.c
+++ b/
target/linux/ar71xx/files/drivers/leds/leds-rb750.c
@@
-9,12
+9,13
@@
*
*/
#include <linux/kernel.h>
*
*/
#include <linux/kernel.h>
+#include <linux/module.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/leds.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/leds.h>
#include <linux/slab.h>
-#include <asm/mach-a
r71xx
/mach-rb750.h>
+#include <asm/mach-a
th79
/mach-rb750.h>
#define DRV_NAME "leds-rb750"
#define DRV_NAME "leds-rb750"
@@
-90,7
+91,7
@@
static int __devinit rb750_led_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, drvdata);
return 0;
platform_set_drvdata(pdev, drvdata);
return 0;
-
err:
+err:
for (i = i - 1; i >= 0; i--)
led_classdev_unregister(&drvdata->led_devs[i].cdev);
for (i = i - 1; i >= 0; i--)
led_classdev_unregister(&drvdata->led_devs[i].cdev);
This page took
0.052767 seconds
and
4
git commands to generate.