]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: fix modular 3945 only build
authorJohannes Berg <johannes.berg@intel.com>
Thu, 18 Nov 2010 20:08:10 +0000 (12:08 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Nov 2010 20:48:51 +0000 (15:48 -0500)
commit4cb89fcdf2cda3e5ba3ba567ae13fa75cae1aae2
tree204d198dcdf66b3e0e13b50fd91baa4022255716
parent2dd9e4c8360c5767cb23a1740b5d0e04e60656f0
iwlwifi: fix modular 3945 only build

If only 3945 is selected, and is a module, build
fails because iwl-legacy.c won't be compiled. Fix
this by adding it to the build correctly.

This doesn't happen for 4965 because it is a bool
option, not tristate, since it's built into the
AGN module.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Tested-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/Makefile