linux/drivers/net/wireless/rtlwifi
Larry Finger 6f334c2b39 rtlwifi: Fix build errors for unusual cases
The present build configuration for the rtlwifi family of drivers will
fail under two known conditions:

(1) If rtlwifi is selected without selecting any of the dependent drivers,
    there are errors in the build.
(2) If the PCI drivers are built into the kernel and the USB drivers are modules,
    or vice versa, there are missing globals.

The first condition is fixed by never building rtlwifi unless at least one
of the device drivers is selected. The second failure is fixed by splitting
the PCI and USB codes out of rtlwifi, and creating their own mini drivers.
If the drivers that use them are modules, they will also be modules.

Although a number of files are touched by this patch, only Makefile and Kconfig
have undergone significant changes. The only modifications to the other files
were to export entry points needed by the new rtl_pci and rtl_usb units, or to
rename two variables that had names that were likely to cause namespace collisions.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>  [Condition 1]
Reported-by: Ben Hutchings <bhutchings@solarflare.com> [Condition 2]
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Cc: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-07-18 16:22:00 -04:00
..
rtl8188ee rtlwifi: rtl8188ee: Fix warning when building on big-endian systems 2013-05-17 14:31:06 -04:00
rtl8192c rtl8192c:dm: Properly initialize local array and set value. 2013-04-23 14:14:52 -04:00
rtl8192ce Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2013-04-10 14:09:54 -04:00
rtl8192cu rtlwifi: rtl8192cu: Fix duplicate if test 2013-06-19 15:28:20 -04:00
rtl8192de rtlwifi: initialize local array and set value. 2013-06-10 15:37:34 -04:00
rtl8192se Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2013-04-10 14:09:54 -04:00
rtl8723ae rtlwifi: rtl8723ae: Fix typo in firmware names 2013-06-24 14:44:27 -04:00
base.c rtlwifi: Fix build errors for unusual cases 2013-07-18 16:22:00 -04:00
base.h rtlwifi: Fix build errors for unusual cases 2013-07-18 16:22:00 -04:00
cam.c rtlwifi: use eth_zero_addr() to assign zero address 2012-11-16 14:29:07 -05:00
cam.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
core.c rtlwifi: Fix build errors for unusual cases 2013-07-18 16:22:00 -04:00
core.h rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
debug.c rtlwifi: Fix build errors for unusual cases 2013-07-18 16:22:00 -04:00
debug.h rtlwifi: rtl8192c: rtl8192ce: rtl8192cu: rtl8192de: rtl8723ae: Add changes required by adding rtl81988ee 2013-04-01 16:20:53 -04:00
efuse.c rtlwifi: Fix build errors for unusual cases 2013-07-18 16:22:00 -04:00
efuse.h rtlwifi: rtl8192c: rtl8192ce: rtl8192cu: rtl8192de: rtl8723ae: Add changes required by adding rtl81988ee 2013-04-01 16:20:53 -04:00
Kconfig rtlwifi: Fix build errors for unusual cases 2013-07-18 16:22:00 -04:00
Makefile rtlwifi: Fix build errors for unusual cases 2013-07-18 16:22:00 -04:00
pci.c rtlwifi: Fix build errors for unusual cases 2013-07-18 16:22:00 -04:00
pci.h rtlwifi: rtl8188ee: Enable recognition of RTL8188EE 2013-04-01 16:20:54 -04:00
ps.c rtlwifi: Fix build errors for unusual cases 2013-07-18 16:22:00 -04:00
ps.h rtlwifi: Initialize power-setting callback for USB devices 2013-07-17 14:34:48 -04:00
rc.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
rc.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
regd.c wireless: make the reg_notifier() void 2013-01-14 11:32:44 +01:00
regd.h wireless: make the reg_notifier() void 2013-01-14 11:32:44 +01:00
stats.c rtlwifi: rtl8192ce: rtl8192cu: rtl8192se: rtl81723ae: Turn on building of the new driver 2012-11-14 14:55:31 -05:00
stats.h rtlwifi: Modify files for addition of rtl8723ae 2012-11-14 14:55:30 -05:00
usb.c rtlwifi: Fix build errors for unusual cases 2013-07-18 16:22:00 -04:00
usb.h rtlwifi: usb: defer rx processing to tasklet 2013-03-25 16:42:22 -04:00
wifi.h rtlwifi: rtl8192cu: Fix problem in connecting to WEP or WPA(1) networks 2013-06-12 10:20:55 -04:00