iwlwifi: fix missing EXPORT_SYMBOL
authorReinette Chatre <reinette.chatre@intel.com>
Fri, 7 Aug 2009 22:41:49 +0000 (15:41 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:13:50 +0000 (09:13 -0400)
commit450ccb36b4d8a18c34643335d3305ec1a781e717
tree1919c35f5d343e023ba48537538e1521ea5ab305
parent3ad3b92a5517c043ef30e4b95c4c39a35bbc36be
iwlwifi: fix missing EXPORT_SYMBOL

When compiling without CONFIG_IWLWIFI_DEBUGFS there is a missing
iwl_update_stats symbol. This is fixed by making this function an inline in
the case when CONFIG_IWLWIFI_DEBUGFS is not set due to the hot path in
which it is used.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-core.h