wlan: fix issues encounter when building with GCC 4.7

GCC 4.7 introduces some additional checks which prevents our current
source from compiling.  To resolve this remove "inline" declarations
from functions which do not have bodys that can be inlined, and (for
now) ignore "maybe-uninitialized" warnings since the compiler isn't
always right about these.

CRs-fixed: 455332
Change-Id: Ib95e5c467cc0371887932ed2298295c5fcfb802b
diff --git a/Kbuild b/Kbuild
index c5d2150..91cfce9 100644
--- a/Kbuild
+++ b/Kbuild
@@ -636,6 +636,9 @@
 CDEFINES += -DWLAN_OPEN_SOURCE
 endif
 
+# Fix build for GCC 4.7
+EXTRA_CFLAGS += -Wno-maybe-uninitialized -Wno-unused-function
+
 KBUILD_CPPFLAGS += $(CDEFINES)
 
 # Module information used by KBuild framework