Module: xenomai-jki
Branch: for-upstream
Commit: 41b1eca69ec51dd88f7d1e8b7ee4b9e66586a1f2
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=41b1eca69ec51dd88f7d1e8b7ee4b9e66586a1f2

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Mon Apr 19 18:39:33 2010 +0200

RTDM: Drop __exit from rtdm_dev_cleanup

It's used from both init and exit contexts.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 ksrc/skins/rtdm/device.c   |    2 +-
 ksrc/skins/rtdm/internal.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ksrc/skins/rtdm/device.c b/ksrc/skins/rtdm/device.c
index 6eb2975..3acc5ee 100644
--- a/ksrc/skins/rtdm/device.c
+++ b/ksrc/skins/rtdm/device.c
@@ -509,7 +509,7 @@ err_out1:
        return err;
 }
 
-void __exit rtdm_dev_cleanup(void)
+void rtdm_dev_cleanup(void)
 {
        /*
         * Note: no need to flush the cleanup_queue as no device is allowed
diff --git a/ksrc/skins/rtdm/internal.h b/ksrc/skins/rtdm/internal.h
index 3d39def..a05cd7d 100644
--- a/ksrc/skins/rtdm/internal.h
+++ b/ksrc/skins/rtdm/internal.h
@@ -80,7 +80,7 @@ static inline void rtdm_dereference_device(struct rtdm_device 
*device)
 }
 
 int __init rtdm_dev_init(void);
-void __exit rtdm_dev_cleanup(void);
+void rtdm_dev_cleanup(void);
 
 int rtdm_proc_register_device(struct rtdm_device *device);
 int __init rtdm_proc_init(void);


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to