* [PATCH 60/63] staging: r8188eu: remove hal_set_hal_ops macro
@ 2016-09-03 15:33 Ivan Safonov
0 siblings, 0 replies; only message in thread
From: Ivan Safonov @ 2016-09-03 15:33 UTC (permalink / raw)
To: Greg Kroah-Hartman, Bhaktipriya Shridhar, Binoy Jayan,
Arnd Bergmann, Shraddha Barke, devel, linux-kernel
Cc: Ivan Safonov
hal_set_hal_ops is a trivial wrapper for rtl8188eu_set_hal_ops.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
---
drivers/staging/rtl8188eu/include/usb_hal.h | 1 -
drivers/staging/rtl8188eu/os_dep/usb_intf.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8188eu/include/usb_hal.h b/drivers/staging/rtl8188eu/include/usb_hal.h
index b1bf07a..fd9921f 100644
--- a/drivers/staging/rtl8188eu/include/usb_hal.h
+++ b/drivers/staging/rtl8188eu/include/usb_hal.h
@@ -16,6 +16,5 @@
#define __USB_HAL_H__
void rtl8188eu_set_hal_ops(struct adapter *padapter);
-#define hal_set_hal_ops rtl8188eu_set_hal_ops
#endif /* __USB_HAL_H__ */
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
index 900dd53..ea77082 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
@@ -362,7 +362,7 @@ static struct adapter *rtw_usb_if1_init(struct dvobj_priv *dvobj,
}
/* step 2. hook HalFunc, allocate HalData */
- hal_set_hal_ops(padapter);
+ rtl8188eu_set_hal_ops(padapter);
padapter->intf_start = &usb_intf_start;
padapter->intf_stop = &usb_intf_stop;
--
2.7.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-03 15:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-03 15:33 [PATCH 60/63] staging: r8188eu: remove hal_set_hal_ops macro Ivan Safonov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®