* 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.
#include <linux/init.h>
#include <linux/device.h>
-#include <asm/gpio.h>
+#include <linux/gpio.h>
#include "leds.h"
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),
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_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");