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)
commit8efa5d7d6ad307ae2d220def37ca89594062c40d
treec56eac029c47751932a9b7c5a1432b53fbae3361
parent4aa5d783c9e1c72e4950ff34f388077ccecac74a
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