aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-orion/common.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-03-27 14:51:41 -0400
committerNicolas Pitre <nico@marvell.com>2008-03-27 14:51:41 -0400
commita99842704a031ac23d4f7344e412a44bb3beb3b3 (patch)
treee0e733ba933bb414337d1128dd87f9345c23b1aa /arch/arm/mach-orion/common.c
parent1419468ab548f990b172740d77b5c1032a790114 (diff)
Orion: add __init attribute to all boot time-only functions
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Reviewed-by: Tzachi Perelstein <tzachi@marvell.com> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-orion/common.c')
-rw-r--r--arch/arm/mach-orion/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-orion/common.c b/arch/arm/mach-orion/common.c
index e271994d27f..aae157d360e 100644
--- a/arch/arm/mach-orion/common.c
+++ b/arch/arm/mach-orion/common.c
@@ -319,7 +319,7 @@ struct sys_timer orion_timer = {
/*
* Identify device ID and rev from PCIE configuration header space '0'.
*/
-static void orion_id(u32 *dev, u32 *rev, char **dev_name)
+static void __init orion_id(u32 *dev, u32 *rev, char **dev_name)
{
orion_pcie_id(dev, rev);