]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Rename rtl8192_interrupt
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:09:28 +0000 (10:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:37 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_interrupt to _rtl92e_irq.

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

index b755881eea909080090c96225056207e002ca074..4fb280c295d14a6a4428922c6e1511c937b6f542 100644 (file)
@@ -76,7 +76,7 @@ MODULE_DEVICE_TABLE(pci, rtl8192_pci_id_tbl);
 static int rtl8192_pci_probe(struct pci_dev *pdev,
                        const struct pci_device_id *id);
 static void rtl8192_pci_disconnect(struct pci_dev *pdev);
-static irqreturn_t rtl8192_interrupt(int irq, void *netdev);
+static irqreturn_t _rtl92e_irq(int irq, void *netdev);
 
 static struct pci_driver rtl8192_pci_driver = {
        .name = DRV_NAME,       /* Driver name   */
@@ -1089,8 +1089,7 @@ static short _rtl92e_init(struct net_device *dev)
                    (unsigned long)dev);
 
        rtl92e_irq_disable(dev);
-       if (request_irq(dev->irq, rtl8192_interrupt, IRQF_SHARED,
-           dev->name, dev)) {
+       if (request_irq(dev->irq, _rtl92e_irq, IRQF_SHARED, dev->name, dev)) {
                netdev_err(dev, "Error allocating IRQ %d", dev->irq);
                return -1;
        }
@@ -2414,7 +2413,7 @@ out:
 }
 
 
-static irqreturn_t rtl8192_interrupt(int irq, void *netdev)
+static irqreturn_t _rtl92e_irq(int irq, void *netdev)
 {
        struct net_device *dev = (struct net_device *) netdev;
        struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev);