summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2014-04-26 18:55:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-26 10:16:17 -0700
commite32c7cd01b3023cd753ef9870ac31aaeb665883b (patch)
treef9005cfebeb4afc2495ddf69d29ffa80985dd185
parentb93eb5c565884370134cd392ff227755519cecda (diff)
staging: rtl8723au: Remove wrapper around rtl8723au_set_intf_ops()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723au/include/usb_ops.h1
-rw-r--r--drivers/staging/rtl8723au/os_dep/usb_intf.c2
2 files changed, 1 insertions, 2 deletions
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);