|
@@ -61,6 +61,7 @@
|
|
|
*
|
|
|
*****************************************************************************/
|
|
|
#include <linux/sched.h>
|
|
|
+#include <linux/export.h>
|
|
|
|
|
|
#include "iwl-notif-wait.h"
|
|
|
|
|
@@ -71,6 +72,7 @@ void iwl_notification_wait_init(struct iwl_notif_wait_data *notif_wait)
|
|
|
INIT_LIST_HEAD(¬if_wait->notif_waits);
|
|
|
init_waitqueue_head(¬if_wait->notif_waitq);
|
|
|
}
|
|
|
+EXPORT_SYMBOL_GPL(iwl_notification_wait_init);
|
|
|
|
|
|
void iwl_notification_wait_notify(struct iwl_notif_wait_data *notif_wait,
|
|
|
struct iwl_rx_packet *pkt)
|
|
@@ -115,6 +117,7 @@ void iwl_notification_wait_notify(struct iwl_notif_wait_data *notif_wait,
|
|
|
if (triggered)
|
|
|
wake_up_all(¬if_wait->notif_waitq);
|
|
|
}
|
|
|
+EXPORT_SYMBOL_GPL(iwl_notification_wait_notify);
|
|
|
|
|
|
void iwl_abort_notification_waits(struct iwl_notif_wait_data *notif_wait)
|
|
|
{
|
|
@@ -128,7 +131,7 @@ void iwl_abort_notification_waits(struct iwl_notif_wait_data *notif_wait)
|
|
|
|
|
|
wake_up_all(¬if_wait->notif_waitq);
|
|
|
}
|
|
|
-
|
|
|
+EXPORT_SYMBOL_GPL(iwl_abort_notification_waits);
|
|
|
|
|
|
void
|
|
|
iwl_init_notification_wait(struct iwl_notif_wait_data *notif_wait,
|
|
@@ -152,6 +155,7 @@ iwl_init_notification_wait(struct iwl_notif_wait_data *notif_wait,
|
|
|
list_add(&wait_entry->list, ¬if_wait->notif_waits);
|
|
|
spin_unlock_bh(¬if_wait->notif_wait_lock);
|
|
|
}
|
|
|
+EXPORT_SYMBOL_GPL(iwl_init_notification_wait);
|
|
|
|
|
|
int iwl_wait_notification(struct iwl_notif_wait_data *notif_wait,
|
|
|
struct iwl_notification_wait *wait_entry,
|
|
@@ -175,6 +179,7 @@ int iwl_wait_notification(struct iwl_notif_wait_data *notif_wait,
|
|
|
return -ETIMEDOUT;
|
|
|
return 0;
|
|
|
}
|
|
|
+EXPORT_SYMBOL_GPL(iwl_wait_notification);
|
|
|
|
|
|
void iwl_remove_notification(struct iwl_notif_wait_data *notif_wait,
|
|
|
struct iwl_notification_wait *wait_entry)
|
|
@@ -183,3 +188,4 @@ void iwl_remove_notification(struct iwl_notif_wait_data *notif_wait,
|
|
|
list_del(&wait_entry->list);
|
|
|
spin_unlock_bh(¬if_wait->notif_wait_lock);
|
|
|
}
|
|
|
+EXPORT_SYMBOL_GPL(iwl_remove_notification);
|