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/ralink/rt305x/devices.h | |
parent | b1a662ff4c05c20c90bcff74e56ee5149c626b80 (diff) | |
download | master-187ad058-baa05587d0dff779f671d96f4025bfdd99d5ac02.tar.gz master-187ad058-baa05587d0dff779f671d96f4025bfdd99d5ac02.tar.bz2 master-187ad058-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/ralink/rt305x/devices.h')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt305x/devices.h | 9 |
1 files changed, 4 insertions, 5 deletions
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 6a267116b5..31ef4033f6 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 */ |