Module: xenomai-forge
Branch: master
Commit: 0714249cc5198eda9452b08673ca4a00119b41b6
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=0714249cc5198eda9452b08673ca4a00119b41b6

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Dec  9 11:29:17 2012 +0100

drivers/ipc: fix section mismatches

---

 kernel/drivers/ipc/bufp.c |    2 +-
 kernel/drivers/ipc/iddp.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/drivers/ipc/bufp.c b/kernel/drivers/ipc/bufp.c
index 8ac5ebb..114f692 100644
--- a/kernel/drivers/ipc/bufp.c
+++ b/kernel/drivers/ipc/bufp.c
@@ -1045,7 +1045,7 @@ static int bufp_ioctl(struct rtipc_private *priv,
        return __bufp_ioctl(priv, user_info, request, arg);
 }
 
-static int __init bufp_init(void)
+static int bufp_init(void)
 {
        portmap = xnmap_create(CONFIG_XENO_OPT_BUFP_NRPORT, 0, 0);
        if (portmap == NULL)
diff --git a/kernel/drivers/ipc/iddp.c b/kernel/drivers/ipc/iddp.c
index f26db37..6308f75 100644
--- a/kernel/drivers/ipc/iddp.c
+++ b/kernel/drivers/ipc/iddp.c
@@ -908,7 +908,7 @@ static int iddp_ioctl(struct rtipc_private *priv,
        return __iddp_ioctl(priv, user_info, request, arg);
 }
 
-static int __init iddp_init(void)
+static int iddp_init(void)
 {
        portmap = xnmap_create(CONFIG_XENO_OPT_IDDP_NRPORT, 0, 0);
        if (portmap == NULL)


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to