OSDN Git Service

iwlwifi: include export.h instead of module.h
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Jun 2013 15:36:26 +0000 (17:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Jun 2013 18:16:26 +0000 (20:16 +0200)
We only need EXPORT_SYMBOL_GPL, none of the other things
from module.h, so only include export.h.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/iwl-drv.h

index 7d14509..429337a 100644 (file)
@@ -62,8 +62,7 @@
 
 #ifndef __iwl_drv_h__
 #define __iwl_drv_h__
-
-#include <linux/module.h>
+#include <linux/export.h>
 
 /* for all modules */
 #define DRV_NAME        "iwlwifi"