diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-09-02 04:14:21 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-10-04 15:20:44 -0400 |
commit | 055d1965161bde96207371e7d31eb776c0f7790d (patch) | |
tree | 7015e4d84d8cd25fa95a26e5c723513617fb71e2 /arch/arm | |
parent | 9f5336915bc47947230290a1a384de95803f815a (diff) |
ARM: 6349/1: sa1111: move __sa1111_probe() to .devinit.text
__sa1111_probe is only called by sa1111_probe that lives in .devinit.text.
So it's save to move the former to .devinit.text, too.
Acked-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/common/sa1111.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c index 517d50ddbeb3..c0258a8c103b 100644 --- a/arch/arm/common/sa1111.c +++ b/arch/arm/common/sa1111.c | |||
@@ -678,7 +678,7 @@ out: | |||
678 | * %-EBUSY physical address already marked in-use. | 678 | * %-EBUSY physical address already marked in-use. |
679 | * %0 successful. | 679 | * %0 successful. |
680 | */ | 680 | */ |
681 | static int | 681 | static int __devinit |
682 | __sa1111_probe(struct device *me, struct resource *mem, int irq) | 682 | __sa1111_probe(struct device *me, struct resource *mem, int irq) |
683 | { | 683 | { |
684 | struct sa1111 *sachip; | 684 | struct sa1111 *sachip; |