wlan: Fixed compile error in wlan_hdd_main.c

Fixed compile error in wlan_hdd_main.c for unused variable
'wlan_hdd_inited' when driver is compiled for DLKM

Change-Id: I548d042cbcb9cdcd11391ed4405047a065db056e
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c
index 9fa3ed3..3eb36dd 100644
--- a/CORE/HDD/src/wlan_hdd_main.c
+++ b/CORE/HDD/src/wlan_hdd_main.c
@@ -141,7 +141,9 @@
 /* the Android framework expects this param even though we don't use it */
 #define BUF_LEN 20
 static char fwpath[BUF_LEN];
+#ifndef MODULE
 static int wlan_hdd_inited = 0;
+#endif
 
 /*
  * The rate at which the driver sends RESTART event to supplicant