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

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

drivers/ipc: fix section mismatches

---

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

diff --git a/ksrc/drivers/ipc/bufp.c b/ksrc/drivers/ipc/bufp.c
index 529b355..9fb52ee 100644
--- a/ksrc/drivers/ipc/bufp.c
+++ b/ksrc/drivers/ipc/bufp.c
@@ -1051,7 +1051,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/ksrc/drivers/ipc/iddp.c b/ksrc/drivers/ipc/iddp.c
index f65cafe..bacbb06 100644
--- a/ksrc/drivers/ipc/iddp.c
+++ b/ksrc/drivers/ipc/iddp.c
@@ -914,7 +914,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