staging: rtl8723au: Remove wrapper around rtl8723au_set_intf_ops()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sat, 26 Apr 2014 16:55:20 +0000 (18:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Apr 2014 17:16:17 +0000 (10:16 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/include/usb_ops.h
drivers/staging/rtl8723au/os_dep/usb_intf.c

index 55d1380f903686e2a453a0cac5038b374c4c160c..21950541a2f10b5ba59f792d1be92f07be6c550e 100644 (file)
@@ -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);
 
index d71641dab2cc84191d3be1bc114c14f9b005f983..9f819ea8e53c1bbd579b31c97032b0be09a87d71 100644 (file)
@@ -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);