diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-01-26 20:48:33 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-01-26 20:48:33 +0000 |
commit | baa05587d0dff779f671d96f4025bfdd99d5ac02 (patch) | |
tree | cb95dc9ba2897852c3b207e4448e3433e5eda39c /target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-leds.h | |
parent | b1a662ff4c05c20c90bcff74e56ee5149c626b80 (diff) | |
download | upstream-baa05587d0dff779f671d96f4025bfdd99d5ac02.tar.gz upstream-baa05587d0dff779f671d96f4025bfdd99d5ac02.tar.bz2 upstream-baa05587d0dff779f671d96f4025bfdd99d5ac02.zip |
ramips: remove extern and __init from function prototypes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25123 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-leds.h')
-rw-r--r-- | target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-leds.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-leds.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-leds.h index ad2ed2667b..24233abde6 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-leds.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-leds.h @@ -1,7 +1,7 @@ /* * Ralink SoC GPIO LED device support * - * Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org> + * Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published @@ -14,8 +14,8 @@ #include <linux/leds.h> #ifdef CONFIG_RALINK_DEV_GPIO_LEDS -__init void ramips_register_gpio_leds(int id, unsigned num_leds, - struct gpio_led *leds); +void ramips_register_gpio_leds(int id, unsigned num_leds, + struct gpio_led *leds); #else static inline void ramips_register_gpio_leds(int id, unsigned num_leds, struct gpio_led *leds) |