]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
rt2x00_pci: Fix interrupt handler name (visible at /proc/interrupts)
authorKirill Tkhai <tkhai@yandex.ru>
Tue, 1 Oct 2013 20:40:46 +0000 (00:40 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 10 Oct 2013 17:43:35 +0000 (13:43 -0400)
commit21cf502a283937ec48bbce5a00af59e0c326ba90
treeb3bfef1e0fcee5c6c37d48d6e7fe3d9ae93749fb
parent8e84c25821698bdef73c0329fb2022a4673b7adc
rt2x00_pci: Fix interrupt handler name (visible at /proc/interrupts)

Currently driver name is wrong. PCI device address is visible at
/proc/interrupts instead of the name:

 43:    124      0      0      0   PCI-MSI-edge    rtsx_pci
 44:    384      0      0      0   PCI-MSI-edge    snd_hda_intel
 45:  25096      0      0      0   PCI-MSI-edge    0000:01:00.0
                                                   ^^^^^^^^^^^^

So, pass the right name. rt2x00_ops->name contains KBUILD_MODNAME
and good for that, so pass it.

Handler names will be "rt2500pci", "rt2500pci" etc.

Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
CC: Ivo van Doorn <IvDoorn@gmail.com>
CC: Gertjan van Wingerde <gwingerde@gmail.com>
CC: Helmut Schaa <helmut.schaa@googlemail.com>
CC: linux-wireless@vger.kernel.org
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00pci.c