X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/07c2f61f37d18a2cce78ab79e0554eccad0e41cd..a53be8ccd233fd2e458f1e38b025a1a42ef5eb16:/target/linux/adm5120/files/drivers/leds/ledtrig-adm5120-switch.c?ds=sidebyside 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 345909d23..23a54a0b9 100644 --- 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 - * Copyright (C) 2007 Gabor Juhos + * Copyright (C) 2007-2008 Gabor Juhos * * This file was based on: drivers/leds/ledtrig-timer.c * Copyright 2005-2006 Openedhand Ltd. @@ -19,7 +19,7 @@ #include #include -#include +#include #include "leds.h" @@ -31,7 +31,7 @@ struct port_state { 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), @@ -144,6 +144,6 @@ module_init(adm5120_switch_trig_init); module_exit(adm5120_switch_trig_exit); MODULE_AUTHOR("Bernhard Held , " - "Gabor Juhos "); + "Gabor Juhos "); MODULE_DESCRIPTION(DRV_DESC); -MODULE_LICENSE("GPL"); +MODULE_LICENSE("GPL v2");