Initial cut of the open ath9k htc firmware.
[open-ath9k-htc-firmware.git] / target_firmware / magpie_fw_dev / target / inc / adf_os_pseudo.h
1 /**
2  * @ingroup adf_os_public
3  * @file adf_os_pseudo.h
4  * This file abstracts "pseudo module" semantics.
5  */
6 #ifndef __ADF_OS_PSEUDO_H
7 #define __ADF_OS_PSEUDO_H
8
9 #include <adf_os_pseudo_pvt.h>
10
11 /**
12  * @brief Specify the module's entry point.
13  */ 
14 #define adf_os_pseudo_module_init(_fn)     __adf_os_pseudo_module_init(_fn)
15
16 /**
17  * @brief Specify the module's exit point.
18  */ 
19 #define adf_os_pseudo_module_exit(_fn)     __adf_os_pseudo_module_exit(_fn)
20
21 /**
22  * @brief Setup the following driver information: name, pseudo IDs of devices
23  * supported and some device handlers.
24  */ 
25 #define adf_os_pseudo_set_drv_info(_name, _ifname, _pseudo_ids, _attach, _detach,  \
26         _suspend, _resume) \
27     __adf_os_pseudo_set_drv_info(_name, _ifname, _pseudo_ids, \
28                                 _attach, _detach, \
29                                 _suspend, _resume)
30 #endif
31