rt2x00: RT2X00 should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 10 Jul 2013 21:03:35 +0000 (23:03 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 18 Jul 2013 20:21:59 +0000 (16:21 -0400)
commit6a08483926bf26d9e5274b4dd5086d583971f1ea
tree10082f79f6fe531efaa470c6c498092a3548c68c
parentb01a60be7a4a161ac0a11df30569d21a20795aef
rt2x00: RT2X00 should depend on HAS_DMA

If NO_DMA=y:

drivers/built-in.o: In function `rt2x00queue_unmap_skb':
drivers/net/wireless/rt2x00/rt2x00queue.c:129: undefined reference to `dma_unmap_single'
drivers/net/wireless/rt2x00/rt2x00queue.c:133: undefined reference to `dma_unmap_single'
drivers/built-in.o: In function `rt2x00queue_map_txskb':
drivers/net/wireless/rt2x00/rt2x00queue.c:112: undefined reference to `dma_map_single'
drivers/net/wireless/rt2x00/rt2x00queue.c:115: undefined reference to `dma_mapping_error'
drivers/built-in.o: In function `rt2x00queue_alloc_rxskb':
drivers/net/wireless/rt2x00/rt2x00queue.c:93: undefined reference to `dma_map_single'
drivers/net/wireless/rt2x00/rt2x00queue.c:95: undefined reference to `dma_mapping_error'

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-wireless@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/Kconfig