mtd: dc21285: use raw spinlock functions for nw_gpio_lock
[linux/fpc-iii.git] / arch / mips / ath79 / dev-leds-gpio.h
blob6e5d8851ebcf77fedc2a042d5299cb1ee76b4238
1 /*
2 * Atheros AR71XX/AR724X/AR913X common GPIO LEDs support
4 * Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org>
5 * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published
9 * by the Free Software Foundation.
12 #ifndef _ATH79_DEV_LEDS_GPIO_H
13 #define _ATH79_DEV_LEDS_GPIO_H
15 #include <linux/leds.h>
17 void ath79_register_leds_gpio(int id,
18 unsigned num_leds,
19 struct gpio_led *leds);
21 #endif /* _ATH79_DEV_LEDS_GPIO_H */