]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 9424909bebcb76a9a87810f6f52cc453afaa1d8c..a8f1521f1293545eb4e91d8aa99f7df6ed525860 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 a943ae2602913d720bb814c360663c7e953cb32c..35a9d3a8dfaea1c6d3f5bd2b6e7e2282adc2fe3a 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 4bcb88b0e79878aaae9ba0f758708dfd53623c2c..5256595d461459aa4ae8ab93cc6d07db9853f247 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,
 };