From: Jes Sorensen Date: Sat, 26 Apr 2014 16:55:20 +0000 (+0200) Subject: staging: rtl8723au: Remove wrapper around rtl8723au_set_intf_ops() X-Git-Tag: next-20140428~14^2~76 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e32c7cd01b3023cd753ef9870ac31aaeb665883b;p=karo-tx-linux.git staging: rtl8723au: Remove wrapper around rtl8723au_set_intf_ops() Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/include/usb_ops.h b/drivers/staging/rtl8723au/include/usb_ops.h index 55d1380f9036..21950541a2f1 100644 --- a/drivers/staging/rtl8723au/include/usb_ops.h +++ b/drivers/staging/rtl8723au/include/usb_ops.h @@ -46,7 +46,6 @@ void rtl8723au_set_hw_type(struct rtw_adapter *padapter); #define hal_set_hw_type rtl8723au_set_hw_type void rtl8723au_set_intf_ops(struct _io_ops *pops); -#define usb_set_intf_ops rtl8723au_set_intf_ops void rtl8723au_recv_tasklet(void *priv); diff --git a/drivers/staging/rtl8723au/os_dep/usb_intf.c b/drivers/staging/rtl8723au/os_dep/usb_intf.c index d71641dab2cc..9f819ea8e53c 100644 --- a/drivers/staging/rtl8723au/os_dep/usb_intf.c +++ b/drivers/staging/rtl8723au/os_dep/usb_intf.c @@ -623,7 +623,7 @@ static struct rtw_adapter *rtw_usb_if1_init(struct dvobj_priv *dvobj, padapter->intf_stop = &usb_intf_stop; /* step init_io_priv */ - rtw_init_io_priv23a(padapter, usb_set_intf_ops); + rtw_init_io_priv23a(padapter, rtl8723au_set_intf_ops); /* step read_chip_version */ rtw_hal_read_chip_version23a(padapter);