ramips: include 'linux/leds.h' from 'dev-gpio-leds.h'
[openwrt.git] / target / linux / ramips / files / arch / mips / include / asm / mach-ralink / dev-gpio-leds.h
1 /*
2 * Ralink SoC GPIO LED device support
3 *
4 * Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published
8 * by the Free Software Foundation.
9 */
10
11 #ifndef __ASM_MACH_RALINK_DEV_GPIO_LEDS_H
12 #define __ASM_MACH_RALINK_DEV_GPIO_LEDS_H
13
14 #include <linux/leds.h>
15
16 #ifdef CONFIG_RALINK_DEV_GPIO_LEDS
17 __init void ramips_register_gpio_leds(int id, unsigned num_leds,
18 struct gpio_led *leds);
19 #else
20 static inline void ramips_register_gpio_leds(int id, unsigned num_leds,
21 struct gpio_led *leds)
22 {
23 }
24 #endif
25
26 #endif /* __ASM_MACH_RALINK_DEV_GPIO_LEDS_H */
This page took 0.045387 seconds and 5 git commands to generate.