aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rapidio
diff options
context:
space:
mode:
authorLi Yang <leoli@freescale.com>2009-05-12 16:36:03 +0800
committerKumar Gala <galak@kernel.crashing.org>2009-05-19 00:50:41 -0500
commit181a6ff034f71b853bb2510db6afad2862e15a8e (patch)
treee2c8d573c85c39dc455bd03d9915d4064ee9a65f /drivers/rapidio
parent186e74b9c5ab3f3f053797c879882a1f5c0cbd09 (diff)
downloadkernel_samsung_smdk4412-181a6ff034f71b853bb2510db6afad2862e15a8e.zip
kernel_samsung_smdk4412-181a6ff034f71b853bb2510db6afad2862e15a8e.tar.gz
kernel_samsung_smdk4412-181a6ff034f71b853bb2510db6afad2862e15a8e.tar.bz2
rapidio: fix section mismatch warnings
Signed-off-by: Li Yang <leoli@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/rapidio')
-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 74d0bfa..3b78540 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)
* to a RIO device on success or NULL on failure.
*
*/
-static struct rio_dev *rio_setup_device(struct rio_net *net,
+static struct rio_dev __devinit *rio_setup_device(struct rio_net *net,
struct rio_mport *port, u16 destid,
u8 hopcount, int do_enum)
{
@@ -559,7 +559,7 @@ static void rio_net_add_mport(struct rio_net *net, struct rio_mport *port)
* Recursively enumerates a RIO network. Transactions are sent via the
* master port passed in @port.
*/
-static int rio_enum_peer(struct rio_net *net, struct rio_mport *port,
+static int __devinit rio_enum_peer(struct rio_net *net, struct rio_mport *port,
u8 hopcount)
{
int port_num;
@@ -718,7 +718,7 @@ static int rio_enum_complete(struct rio_mport *port)
* Recursively discovers a RIO network. Transactions are sent via the
* master port passed in @port.
*/
-static int
+static int __devinit
rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid,
u8 hopcount)
{