Commit 9927fc2e authored by Jason Cooper's avatar Jason Cooper Committed by Greg Kroah-Hartman

staging: brcm80211: remove BCMUNINITFN() macro.

Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b4f790ee
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
* The following macros specify special linker sections that can be reclaimed * The following macros specify special linker sections that can be reclaimed
* after a system is considered 'up'. * after a system is considered 'up'.
*/ */
#define BCMUNINITFN(_fn) _fn
#define BCMNMIATTACHFN(_fn) _fn #define BCMNMIATTACHFN(_fn) _fn
#ifdef mips #ifdef mips
#define BCMFASTPATH __attribute__ ((__section__(".text.fastpath"))) #define BCMFASTPATH __attribute__ ((__section__(".text.fastpath")))
......
...@@ -1047,7 +1047,7 @@ void wlc_phy_cal_init(wlc_phy_t *pih) ...@@ -1047,7 +1047,7 @@ void wlc_phy_cal_init(wlc_phy_t *pih)
} }
} }
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; phy_info_t *pi = (phy_info_t *) pih;
int callbacks = 0; int callbacks = 0;
......
...@@ -1249,7 +1249,7 @@ int wlc_bmac_up_finish(wlc_hw_info_t *wlc_hw) ...@@ -1249,7 +1249,7 @@ int wlc_bmac_up_finish(wlc_hw_info_t *wlc_hw)
return 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; bool dev_gone;
uint callbacks = 0; uint callbacks = 0;
...@@ -1277,7 +1277,7 @@ int BCMUNINITFN(wlc_bmac_down_prep) (wlc_hw_info_t *wlc_hw) ...@@ -1277,7 +1277,7 @@ int BCMUNINITFN(wlc_bmac_down_prep) (wlc_hw_info_t *wlc_hw)
return callbacks; 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; uint callbacks = 0;
bool dev_gone; bool dev_gone;
......
...@@ -99,7 +99,7 @@ int wlc_eventq_detach(wlc_eventq_t *eq) ...@@ -99,7 +99,7 @@ int wlc_eventq_detach(wlc_eventq_t *eq)
return 0; return 0;
} }
int BCMUNINITFN(wlc_eventq_down) (wlc_eventq_t *eq) int wlc_eventq_down(wlc_eventq_t *eq)
{ {
int callbacks = 0; int callbacks = 0;
if (eq->tpending && !eq->workpending) { if (eq->tpending && !eq->workpending) {
......
...@@ -2846,7 +2846,7 @@ static void wlc_tx_prec_map_init(wlc_info_t *wlc) ...@@ -2846,7 +2846,7 @@ static void wlc_tx_prec_map_init(wlc_info_t *wlc)
} }
} }
static uint BCMUNINITFN(wlc_down_del_timer) (wlc_info_t *wlc) static uint wlc_down_del_timer(wlc_info_t *wlc)
{ {
uint callbacks = 0; uint callbacks = 0;
...@@ -2858,7 +2858,7 @@ static uint BCMUNINITFN(wlc_down_del_timer) (wlc_info_t *wlc) ...@@ -2858,7 +2858,7 @@ static uint BCMUNINITFN(wlc_down_del_timer) (wlc_info_t *wlc)
* disable the hardware, free any transient buffer state. * disable the hardware, free any transient buffer state.
* Return a count of the number of driver callbacks still pending. * 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; uint callbacks = 0;
......
...@@ -106,7 +106,7 @@ int nvram_append(void *si, char *varlst, uint varsz) ...@@ -106,7 +106,7 @@ int nvram_append(void *si, char *varlst, uint varsz)
return BCME_OK; return BCME_OK;
} }
void BCMUNINITFN(nvram_exit) (void *si) void nvram_exit(void *si)
{ {
vars_t *this, *next; vars_t *this, *next;
si_t *sih; si_t *sih;
......
...@@ -1631,7 +1631,7 @@ void si_pci_up(si_t *sih) ...@@ -1631,7 +1631,7 @@ void si_pci_up(si_t *sih)
} }
/* Unconfigure and/or apply various WARs when system is going to sleep mode */ /* 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; si_info_t *sii;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment