linux-stable-rt/drivers
Rami Rosen 699669f331 iwl-3945: add #ifdef CONFIG_IWL3945_LEDS to avoid compile warning.
When building the wireless-next-2.6 tree with CONFIG_IWL3945 (for building
iwl-3945 driver) and where CONFIG_IWL3945_LEDS is not set,
we get this warning:
drivers/net/wireless/iwlwifi/iwl-3945.c: In function
'iwl3945_pass_packet_to_mac80211':
drivers/net/wireless/iwlwifi/iwl-3945.c:633: warning: unused variable 'hdr'

This patch adds #ifdef to iwl3945_pass_packet_to_mac80211() to avoid this
warning. (The variable 'hdr' is used only if CONFIG_IWL3945_LEDS is set)

Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-07-29 16:55:03 -04:00
..
accessibility
acpi Merge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-07-26 13:25:47 -07:00
amba
ata [ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_* 2008-07-27 09:46:18 +01:00
atm
auxdisplay
base Use WARN() in drivers/base/ 2008-07-26 12:00:07 -07:00
block aoe: convert emsgs_sema into a completion 2008-07-25 10:53:45 -07:00
bluetooth
cdrom
char Merge master.kernel.org:/home/rmk/linux-2.6-arm 2008-07-27 16:46:08 -07:00
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dma
edac edac: mpc85xx fix pci ofdev 2nd pass 2008-07-25 10:53:49 -07:00
eisa
firewire Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6 2008-07-27 10:24:06 -07:00
firmware firmware: fix memmap printk format warnings 2008-07-26 20:16:48 -07:00
gpio
gpu drm: make drm_minors_cleanup() static 2008-07-26 12:00:11 -07:00
hid
hwmon
i2c
ide
ieee1394
infiniband Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2008-07-26 20:40:36 -07:00
input [ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_* 2008-07-27 09:46:18 +01:00
isdn Merge git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6 2008-07-27 09:58:59 -07:00
leds
lguest
macintosh
mca
md [SCSI] scsi_dh: attach to hardware handler from dm-mpath 2008-07-26 15:14:53 -04:00
media dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
memstick memstick: use fully asynchronous request processing 2008-07-26 12:00:04 -07:00
message Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2008-07-27 10:04:52 -07:00
mfd [ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_* 2008-07-27 09:46:18 +01:00
misc Merge git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6 2008-07-27 10:03:00 -07:00
mmc avr32: some mmc/sd cleanups 2008-07-27 13:57:36 +02:00
mtd Merge git://git.infradead.org/mtd-2.6 2008-07-26 20:30:56 -07:00
net iwl-3945: add #ifdef CONFIG_IWL3945_LEDS to avoid compile warning. 2008-07-29 16:55:03 -04:00
nubus
of Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2008-07-25 11:08:17 -07:00
oprofile
parisc
parport make parport_cs_release() static 2008-07-26 12:00:11 -07:00
pci
pcmcia [ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_* 2008-07-27 09:46:18 +01:00
pnp make pnp_add_card_id() static 2008-07-26 12:00:11 -07:00
power
ps3
rapidio
rtc
s390 KVM: s390: Fix guest kconfig 2008-07-27 11:35:47 +03:00
sbus
scsi Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2008-07-27 10:04:52 -07:00
serial
sh
sn
spi dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
ssb
tc
telephony
thermal
uio
usb fix for a memory leak in an error case introduced by fix for double free 2008-07-26 20:40:09 -07:00
video [ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_* 2008-07-27 09:46:18 +01:00
virtio
w1
watchdog
xen
zorro
Kconfig
Makefile