aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLi Yang <leoli@freescale.com>2009-05-12 04:36:03 -0400
committerKumar Gala <galak@kernel.crashing.org>2009-05-19 01:50:41 -0400
commit181a6ff034f71b853bb2510db6afad2862e15a8e (patch)
treee2c8d573c85c39dc455bd03d9915d4064ee9a65f
parent186e74b9c5ab3f3f053797c879882a1f5c0cbd09 (diff)
rapidio: fix section mismatch warnings
Signed-off-by: Li Yang <leoli@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r--drivers/rapidio/rio-scan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rapidio/rio-scan.c b/drivers/rapidio/rio-scan.c
index 74d0bfa3f310..3b78540288c7 100644
--- a/drivers/rapidio/rio-scan.c
+++ b/drivers/rapidio/rio-scan.c
@@ -290,7 +290,7 @@ static void __devinit rio_add_device(struct rio_dev *rdev)
290 * to a RIO device on success or NULL on failure. 290 * to a RIO device on success or NULL on failure.
291 * 291 *
292 */ 292 */
293static struct rio_dev *rio_setup_device(struct rio_net *net, 293static struct rio_dev __devinit *rio_setup_device(struct rio_net *net,
294 struct rio_mport *port, u16 destid, 294 struct rio_mport *port, u16 destid,
295 u8 hopcount, int do_enum) 295 u8 hopcount, int do_enum)
296{ 296{
@@ -559,7 +559,7 @@ static void rio_net_add_mport(struct rio_net *net, struct rio_mport *port)
559 * Recursively enumerates a RIO network. Transactions are sent via the 559 * Recursively enumerates a RIO network. Transactions are sent via the
560 * master port passed in @port. 560 * master port passed in @port.
561 */ 561 */
562static int rio_enum_peer(struct rio_net *net, struct rio_mport *port, 562static int __devinit rio_enum_peer(struct rio_net *net, struct rio_mport *port,
563 u8 hopcount) 563 u8 hopcount)
564{ 564{
565 int port_num; 565 int port_num;
@@ -718,7 +718,7 @@ static int rio_enum_complete(struct rio_mport *port)
718 * Recursively discovers a RIO network. Transactions are sent via the 718 * Recursively discovers a RIO network. Transactions are sent via the
719 * master port passed in @port. 719 * master port passed in @port.
720 */ 720 */
721static int 721static int __devinit
722rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid, 722rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid,
723 u8 hopcount) 723 u8 hopcount)
724{ 724{