Module: xenomai-abe
Branch: analogy
Commit: 80d61bedc49d7c88dd5d040d4c995ac2e8bed2ae
URL:    
http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=80d61bedc49d7c88dd5d040d4c995ac2e8bed2ae

Author: Alexis Berlemont <alexis.berlem...@gmail.com>
Date:   Sat Oct 17 16:08:39 2009 +0200

Add a missing EXPORT_SYMBOL() comedi_alloc_subd.

---

 ksrc/drivers/comedi/driver_facilities.c |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/ksrc/drivers/comedi/driver_facilities.c 
b/ksrc/drivers/comedi/driver_facilities.c
index 6bd1856..95dbff6 100644
--- a/ksrc/drivers/comedi/driver_facilities.c
+++ b/ksrc/drivers/comedi/driver_facilities.c
@@ -142,6 +142,23 @@ EXPORT_SYMBOL(range_unknown);
 EXPORT_SYMBOL(range_fake);
 
 /**
+ * @brief Allocate a subdevice descriptor
+ * 
+ * This is a helper function so as to get a suitable subdevice
+ * descriptor
+ *
+ * @param[in] sizeof_priv Size of the subdevice's private data
+ * @param[in] setup Setup function to be called after the allocation
+ *
+ * @return the index with which the subdevice has been registered, in
+ * case of error a negative error code is returned.
+ *
+ */
+comedi_subd_t * comedi_alloc_subd(int sizeof_priv,
+                                 void (*setup)(comedi_subd_t *));
+EXPORT_SYMBOL(comedi_alloc_subd);
+
+/**
  * @brief Add a subdevice to the driver descriptor
  * 
  * Once the driver descriptor structure is initialized, the function


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

Reply via email to