* The following macros specify special linker sections that can be reclaimed
* after a system is considered 'up'.
*/
-#define BCMUNINITFN(_fn) _fn
#define BCMNMIATTACHFN(_fn) _fn
#ifdef mips
#define BCMFASTPATH __attribute__ ((__section__(".text.fastpath")))
}
}
-int BCMUNINITFN(wlc_phy_down) (wlc_phy_t *pih)
+int wlc_phy_down(wlc_phy_t *pih)
{
phy_info_t *pi = (phy_info_t *) pih;
int callbacks = 0;
return 0;
}
-int BCMUNINITFN(wlc_bmac_down_prep) (wlc_hw_info_t *wlc_hw)
+int wlc_bmac_down_prep(wlc_hw_info_t *wlc_hw)
{
bool dev_gone;
uint callbacks = 0;
return callbacks;
}
-int BCMUNINITFN(wlc_bmac_down_finish) (wlc_hw_info_t *wlc_hw)
+int wlc_bmac_down_finish(wlc_hw_info_t *wlc_hw)
{
uint callbacks = 0;
bool dev_gone;
return 0;
}
-int BCMUNINITFN(wlc_eventq_down) (wlc_eventq_t *eq)
+int wlc_eventq_down(wlc_eventq_t *eq)
{
int callbacks = 0;
if (eq->tpending && !eq->workpending) {
}
}
-static uint BCMUNINITFN(wlc_down_del_timer) (wlc_info_t *wlc)
+static uint wlc_down_del_timer(wlc_info_t *wlc)
{
uint callbacks = 0;
* disable the hardware, free any transient buffer state.
* Return a count of the number of driver callbacks still pending.
*/
-uint BCMUNINITFN(wlc_down) (wlc_info_t *wlc)
+uint wlc_down(wlc_info_t *wlc)
{
uint callbacks = 0;
return BCME_OK;
}
-void BCMUNINITFN(nvram_exit) (void *si)
+void nvram_exit(void *si)
{
vars_t *this, *next;
si_t *sih;
}
/* Unconfigure and/or apply various WARs when system is going to sleep mode */
-void BCMUNINITFN(si_pci_sleep) (si_t *sih)
+void si_pci_sleep(si_t *sih)
{
si_info_t *sii;