Merge "[qca-ssdk] fix HNAT build for IPQ platform"
diff --git a/app/nathelper/linux/napt_procfs.c b/app/nathelper/linux/napt_procfs.c
index 3e7e7e2..09c3b8a 100755
--- a/app/nathelper/linux/napt_procfs.c
+++ b/app/nathelper/linux/napt_procfs.c
@@ -24,6 +24,7 @@
 #include <linux/autoconf.h>
 #include <linux/kernel.h>
 #endif
+#include <linux/kconfig.h>
 #include <linux/proc_fs.h>
 #include <linux/sysfs.h>
 #include <linux/if_ether.h>
diff --git a/make/linux_opt.mk b/make/linux_opt.mk
index 0e685e4..64a93fb 100755
--- a/make/linux_opt.mk
+++ b/make/linux_opt.mk
@@ -118,7 +118,7 @@
   MODULE_CFLAG += -g
 endif
 
-MODULE_CFLAG += $(OPT_FLAG) -Wall -DVERSION=\"$(VERSION)\" -DBUILD_DATE=\"$(BUILD_DATE)\" -DCPU=\"$(CPU)\" -DOS=\"$(OS)\"
+MODULE_CFLAG += $(OPT_FLAG) -Wall -DVERSION=\"$(VERSION)\" -DBUILD_DATE=\"$(BUILD_DATE)\" -DCPU=\"$(CPU)\" -DOS=\"$(OS)\" -D"KBUILD_STR(s)=\#s" -D"KBUILD_MODNAME=KBUILD_STR(qca-ssdk)"
 
 MODULE_INC += -I$(PRJ_PATH)/include \
                    -I$(PRJ_PATH)/include/common \