]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: Check if pci pdev struct is initialized in common functions.
authorFelix Fietkau <nbd@openwrt.org>
Thu, 2 Dec 2010 09:27:06 +0000 (10:27 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 2 Dec 2010 20:17:50 +0000 (15:17 -0500)
commitd28cd7b2f1420ce59c8a37059715fd2b370b78f7
treec56eac029c47751932a9b7c5a1432b53fbae3361
parentfa735026f3b509bc3ad6682eb1b772d251947b99
ath5k: Check if pci pdev struct is initialized in common functions.

To be able to support other busses than PCI check if pci device
structure is initialized.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/attach.c
drivers/net/wireless/ath/ath5k/led.c
drivers/net/wireless/ath/ath5k/reset.c
drivers/net/wireless/ath/ath5k/sysfs.c