staging: rtl8192e: Rename rtl8192_interrupt_recognized
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:35 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:14 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_interrupt_recognized to rtl92e_ack_irq.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h
drivers/staging/rtl8192e/rtl8192e/rtl_core.c

index 9424909..a8f1521 100644 (file)
@@ -2276,8 +2276,7 @@ void rtl92e_enable_tx(struct net_device *dev)
 }
 
 
-void rtl8192_interrupt_recognized(struct net_device *dev, u32 *p_inta,
-                                 u32 *p_intb)
+void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta, u32 *p_intb)
 {
        *p_inta = read_nic_dword(dev, ISR);
        write_nic_dword(dev, ISR, *p_inta);
index a943ae2..35a9d3a 100644 (file)
@@ -31,8 +31,7 @@ bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev);
 bool rtl92e_get_nmode_support_by_sec(struct net_device *dev);
 bool rtl92e_is_tx_stuck(struct net_device *dev);
 bool rtl92e_is_rx_stuck(struct net_device *dev);
-void rtl8192_interrupt_recognized(struct net_device *dev, u32 *p_inta,
-                                 u32 *p_intb);
+void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta, u32 *p_intb);
 void rtl92e_enable_rx(struct net_device *dev);
 void rtl92e_enable_tx(struct net_device *dev);
 void rtl92e_enable_irq(struct net_device *dev);
index 4bcb88b..5256595 100644 (file)
@@ -59,7 +59,7 @@ static struct rtl819x_ops rtl819xp_ops = {
        .irq_clear                      = rtl92e_clear_irq,
        .rx_enable                      = rtl92e_enable_rx,
        .tx_enable                      = rtl92e_enable_tx,
-       .interrupt_recognized           = rtl8192_interrupt_recognized,
+       .interrupt_recognized           = rtl92e_ack_irq,
        .TxCheckStuckHandler            = rtl92e_is_tx_stuck,
        .RxCheckStuckHandler            = rtl92e_is_rx_stuck,
 };