linux/drivers/net/wireless/rt2x00
Gabor Juhos 69a2bac898 rt2x00: rt2x00pci: fix build error on Ralink RT3x5x SoCs
The rt2800pci driver supports the built-in wireless
MAC of the Ralink RT3x5x SoCs. However building the
driver for these SoCs leads to the following error:

    LD      init/built-in.o
  drivers/built-in.o: In function `rt2800pci_rxdone_tasklet':
  <...>/drivers/net/wireless/rt2x00/rt2800pci.c:1012: undefined reference to `rt2x00pci_rxdone'
  drivers/built-in.o:(.rodata+0x4780): undefined reference to `rt2x00pci_initialize'
  drivers/built-in.o:(.rodata+0x4784): undefined reference to `rt2x00pci_uninitialize'
  drivers/built-in.o:(.rodata+0x47bc): undefined reference to `rt2x00pci_flush_queue'
  drivers/built-in.o:(.rodata+0x4818): undefined reference to `rt2x00pci_regbusy_read'
  make[5]: *** [vmlinux] Error 1

The missing functions are provided by the rt2x00pci
module. This module is only selected by the rt2800pci
driver if PCI support is enabled in the kernel, because
some parts of the rt2x00pci code depends on PCI support.

PCI support is not available on the RT3x5x SoCs because
those have no PCI host controller at all.

Move the non PCI specific code from rt2x00pci into a
separate module. This makes it possible to use that
code even if PCI support is disabled. The affected
functions are used by all of the rt2x00 PCI drivers
so select the new module for those drivers.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-04-03 14:50:06 -04:00
..
Kconfig rt2x00: rt2x00pci: fix build error on Ralink RT3x5x SoCs 2013-04-03 14:50:06 -04:00
Makefile rt2x00: rt2x00pci: fix build error on Ralink RT3x5x SoCs 2013-04-03 14:50:06 -04:00
rt2x00.h rt2x00: check for dma mappings errors 2013-02-14 14:24:07 -05:00
rt2x00config.c mac80211: add time synchronisation with BSS for assoc 2012-07-12 12:10:46 +02:00
rt2x00crypto.c rt2x00: Don't use queue entry as parameter when creating TX descriptor. 2011-07-07 13:20:58 -04:00
rt2x00debug.c rt2x00: Add debugfs access for rfcsr register 2012-05-08 21:53:46 -04:00
rt2x00debug.h rt2x00: Add debugfs access for rfcsr register 2012-05-08 21:53:46 -04:00
rt2x00dev.c rt2x00: error in configurations with mesh support disabled 2013-02-27 14:12:52 -05:00
rt2x00dump.h
rt2x00firmware.c
rt2x00leds.c rt2x00: increase led's name buffer length 2012-04-09 16:09:34 -04:00
rt2x00leds.h
rt2x00lib.h rt2x00: Use GFP_KERNEL for rx buffer allocation on USB devices 2012-04-23 15:35:29 -04:00
rt2x00link.c rt2x00:Add VCO recalibration 2012-02-27 14:05:44 -05:00
rt2x00mac.c rt2x00: print chip and firmware version by default 2013-01-30 15:06:39 -05:00
rt2x00mmio.c rt2x00: rt2x00pci: fix build error on Ralink RT3x5x SoCs 2013-04-03 14:50:06 -04:00
rt2x00mmio.h rt2x00: rt2x00pci: fix build error on Ralink RT3x5x SoCs 2013-04-03 14:50:06 -04:00
rt2x00pci.c rt2x00: rt2x00pci: fix build error on Ralink RT3x5x SoCs 2013-04-03 14:50:06 -04:00
rt2x00pci.h rt2x00: rt2x00pci: fix build error on Ralink RT3x5x SoCs 2013-04-03 14:50:06 -04:00
rt2x00queue.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2013-02-15 13:59:53 -05:00
rt2x00queue.h rt2x00: remove unused argument 2012-07-11 15:38:27 -04:00
rt2x00reg.h
rt2x00soc.c
rt2x00soc.h
rt2x00usb.c rt2x00: remove unused argument 2012-07-11 15:38:27 -04:00
rt2x00usb.h
rt61pci.c rt2x00: rt2x00pci: fix build error on Ralink RT3x5x SoCs 2013-04-03 14:50:06 -04:00
rt61pci.h rt2x00: Unify GPIO register field namings 2012-09-07 15:08:40 -04:00
rt73usb.c rt2x00: usb: fix reset resume 2012-10-24 13:18:07 -04:00
rt73usb.h rt2x00: Unify GPIO register field namings 2012-09-07 15:08:40 -04:00
rt2400pci.c rt2x00: rt2x00pci: fix build error on Ralink RT3x5x SoCs 2013-04-03 14:50:06 -04:00
rt2400pci.h rt2x00: Unify GPIO register field namings 2012-09-07 15:08:40 -04:00
rt2500pci.c rt2x00: rt2x00pci: fix build error on Ralink RT3x5x SoCs 2013-04-03 14:50:06 -04:00
rt2500pci.h rt2x00: Unify GPIO register field namings 2012-09-07 15:08:40 -04:00
rt2500usb.c rt2x00: usb: fix reset resume 2012-10-24 13:18:07 -04:00
rt2500usb.h rt2x00: Unify GPIO register field namings 2012-09-07 15:08:40 -04:00
rt2800.h rt2x00: rt2800lib: introduce RFCSR3_VCOCAL_EN 2012-12-03 13:52:01 -05:00
rt2800lib.c rt2x00: remove NOTICE 2013-01-30 15:06:43 -05:00
rt2800lib.h rt2x00: rt2800: convert read_eeprom functions to return an int value 2013-01-07 15:16:54 -05:00
rt2800pci.c rt2x00: rt2x00pci: fix build error on Ralink RT3x5x SoCs 2013-04-03 14:50:06 -04:00
rt2800pci.h rt2x00 : RT3290 chip support v4 2012-06-20 14:41:49 -04:00
rt2800usb.c wireless: rt2x00: rt2800usb add "unknown" devices 2013-02-11 15:34:57 -05:00
rt2800usb.h