projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: remove support for 2.6.36
[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
2e60647
..
531ac6b
100644
(file)
--- a/
target/linux/ar71xx/files/drivers/leds/leds-rb750.c
+++ b/
target/linux/ar71xx/files/drivers/leds/leds-rb750.c
@@
-12,6
+12,7
@@
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/leds.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/leds.h>
+#include <linux/slab.h>
#include <asm/mach-ar71xx/mach-rb750.h>
#include <asm/mach-ar71xx/mach-rb750.h>
@@
-89,7
+90,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.022501 seconds
and
4
git commands to generate.