diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-01-26 20:48:33 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-01-26 20:48:33 +0000 |
commit | b2dc6c86ee3e55b3bad7b3f69ed2b39fb894fa0a (patch) | |
tree | cb95dc9ba2897852c3b207e4448e3433e5eda39c /target/linux/ramips/files/arch/mips/ralink | |
parent | 4b099d926581fd16a94abca8b59820fd1fe65c9b (diff) |
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/ralink')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt288x/devices.h | 9 | ||||
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt305x/devices.h | 9 |
2 files changed, 8 insertions, 10 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/devices.h b/target/linux/ramips/files/arch/mips/ralink/rt288x/devices.h index 6bd2d3f90..1ffbfb2a8 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt288x/devices.h +++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/devices.h @@ -1,7 +1,7 @@ /* * Ralink RT288x SoC specific platform definitions * - * Copyright (C) 2008 Gabor Juhos <juhosg@openwrt.org> + * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org> * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> * * This program is free software; you can redistribute it and/or modify it @@ -14,11 +14,10 @@ struct physmap_flash_data; -extern void rt288x_register_flash(unsigned int id, - struct physmap_flash_data *pdata) __init; -void rt288x_register_wifi(void) __init; +void rt288x_register_flash(unsigned int id, struct physmap_flash_data *pdata); +void rt288x_register_wifi(void); extern struct ramips_eth_platform_data rt288x_eth_data; -void rt288x_register_ethernet(void) __init; +void rt288x_register_ethernet(void); #endif /* __ASM_MACH_RT288X_PLATFORM_H */ diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.h b/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.h index 6a267116b..31ef4033f 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.h +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.h @@ -1,7 +1,7 @@ /* * Ralink RT305x SoC specific platform device definitions * - * 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 @@ -17,10 +17,9 @@ struct physmap_flash_data; extern struct rt305x_esw_platform_data rt305x_esw_data; -extern void rt305x_register_flash(unsigned int id, - struct physmap_flash_data *pdata) __init; -extern void rt305x_register_ethernet(void) __init; -extern void rt305x_register_wifi(void) __init; +void rt305x_register_flash(unsigned int id, struct physmap_flash_data *pdata); +void rt305x_register_ethernet(void); +void rt305x_register_wifi(void); #endif /* __RT305X_DEVICES_H */ |