projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[uml] add support for 3.2
[openwrt.git]
/
target
/
linux
/
adm5120
/
files
/
drivers
/
leds
/
ledtrig-adm5120-switch.c
diff --git
a/target/linux/adm5120/files/drivers/leds/ledtrig-adm5120-switch.c
b/target/linux/adm5120/files/drivers/leds/ledtrig-adm5120-switch.c
index
345909d
..
23a54a0
100644
(file)
--- a/
target/linux/adm5120/files/drivers/leds/ledtrig-adm5120-switch.c
+++ b/
target/linux/adm5120/files/drivers/leds/ledtrig-adm5120-switch.c
@@
-2,7
+2,7
@@
* LED ADM5120 Switch Port State Trigger
*
* Copyright (C) 2007 Bernhard Held <bernhard at bernhardheld.de>
* LED ADM5120 Switch Port State Trigger
*
* Copyright (C) 2007 Bernhard Held <bernhard at bernhardheld.de>
- * Copyright (C) 2007
Gabor Juhos <juhosg at
openwrt.org>
+ * Copyright (C) 2007
-2008 Gabor Juhos <juhosg@
openwrt.org>
*
* This file was based on: drivers/leds/ledtrig-timer.c
* Copyright 2005-2006 Openedhand Ltd.
*
* This file was based on: drivers/leds/ledtrig-timer.c
* Copyright 2005-2006 Openedhand Ltd.
@@
-19,7
+19,7
@@
#include <linux/init.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/device.h>
-#include <
asm
/gpio.h>
+#include <
linux
/gpio.h>
#include "leds.h"
#include "leds.h"
@@
-31,7
+31,7
@@
struct port_state {
unsigned int value;
};
unsigned int value;
};
-#define PORT_STATE(n,v) {.name = (n), .value = (v)}
+#define PORT_STATE(n,
v) {.name = (n), .value = (v)}
static struct port_state port_states[] = {
PORT_STATE("off", LED_OFF),
static struct port_state port_states[] = {
PORT_STATE("off", LED_OFF),
@@
-144,6
+144,6
@@
module_init(adm5120_switch_trig_init);
module_exit(adm5120_switch_trig_exit);
MODULE_AUTHOR("Bernhard Held <bernhard at bernhardheld.de>, "
module_exit(adm5120_switch_trig_exit);
MODULE_AUTHOR("Bernhard Held <bernhard at bernhardheld.de>, "
- "Gabor Juhos <juhosg
at
openwrt.org>");
+ "Gabor Juhos <juhosg
@
openwrt.org>");
MODULE_DESCRIPTION(DRV_DESC);
MODULE_DESCRIPTION(DRV_DESC);
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL
v2
");
This page took
0.0306689999999999 seconds
and
4
git commands to generate.