diff options
author | Brandon Misemer <brandon.misemer@intel.com> | 2012-06-08 17:59:27 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-13 03:01:05 -0400 |
commit | 65fe593a519c4d7c62289d3b0a17ca412e95b037 (patch) | |
tree | 896ab5f7145a622818858137c4e0e31ca7597411 | |
parent | 11741739391c2f03bbaba5349f868618fe63922f (diff) |
iwlwifi: Fix Makefile build order for built-in driver
When the driver is built into the kernel instead of a module
when the system boots it results in a panic. The order things are built in
results in their initialization order when built into the kernel. Wifi
has to be initialized before mvm or dvm.
Reviewed-by: Donald H Fry <donald.h.fry@intel.com>
Tested-by: Donald H Fry <donald.h.fry@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Brandon Misemer <brandon.misemer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/Makefile b/drivers/net/wireless/iwlwifi/Makefile index afa9758364ea..170ec330d2a9 100644 --- a/drivers/net/wireless/iwlwifi/Makefile +++ b/drivers/net/wireless/iwlwifi/Makefile | |||
@@ -1,7 +1,3 @@ | |||
1 | obj-$(CONFIG_IWLDVM) += dvm/ | ||
2 | |||
3 | CFLAGS_iwl-devtrace.o := -I$(src) | ||
4 | |||
5 | # common | 1 | # common |
6 | obj-$(CONFIG_IWLWIFI) += iwlwifi.o | 2 | obj-$(CONFIG_IWLWIFI) += iwlwifi.o |
7 | iwlwifi-objs += iwl-io.o | 3 | iwlwifi-objs += iwl-io.o |
@@ -16,3 +12,8 @@ iwlwifi-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o | |||
16 | iwlwifi-$(CONFIG_IWLWIFI_DEVICE_TESTMODE) += iwl-test.o | 12 | iwlwifi-$(CONFIG_IWLWIFI_DEVICE_TESTMODE) += iwl-test.o |
17 | 13 | ||
18 | ccflags-y += -D__CHECK_ENDIAN__ -I$(src) | 14 | ccflags-y += -D__CHECK_ENDIAN__ -I$(src) |
15 | |||
16 | |||
17 | obj-$(CONFIG_IWLDVM) += dvm/ | ||
18 | |||
19 | CFLAGS_iwl-devtrace.o := -I$(src) | ||