From b2dc6c86ee3e55b3bad7b3f69ed2b39fb894fa0a Mon Sep 17 00:00:00 2001
From: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Wed, 26 Jan 2011 20:48:33 +0000
Subject: ramips: remove extern and __init from function prototypes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25123 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 .../files/arch/mips/include/asm/mach-ralink/dev-gpio-buttons.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-buttons.h')

diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-buttons.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-buttons.h
index 0ab5c3762..d223737e0 100644
--- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-buttons.h
+++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-buttons.h
@@ -1,7 +1,7 @@
 /*
  *  Ralink SoC GPIO button support
  *
- *  Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org>
+ *  Copyright (C) 2010-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
@@ -15,10 +15,10 @@
 #include <linux/gpio_buttons.h>
 
 #ifdef CONFIG_RALINK_DEV_GPIO_BUTTONS
-void __init ramips_register_gpio_buttons(int id,
-					 unsigned poll_interval,
-					 unsigned nbuttons,
-					 struct gpio_button *buttons);
+void ramips_register_gpio_buttons(int id,
+				  unsigned poll_interval,
+				  unsigned nbuttons,
+				  struct gpio_button *buttons);
 #else
 static inline void ramips_register_gpio_buttons(int id,
 						unsigned poll_interval,
-- 
cgit v1.2.3