qcacmn: Move regdef for qca8074 out of AHB compiler flag

X86 uses PCI to connect to qca8074. ATH_AHB is not enabled on x86
but regdef is required to set correct offset for registers. Move the
initialization code out of ATH_AHB compiler flag.

Change-Id: I369f9c87e006fa3ae929e18a6922332d84f01382
CRs-Fixed: 1079647
diff --git a/hif/inc/hostdef.h b/hif/inc/hostdef.h
index da330ba..a4186fa 100644
--- a/hif/inc/hostdef.h
+++ b/hif/inc/hostdef.h
@@ -35,7 +35,7 @@
 extern struct hostdef_s *QCA9888_HOSTdef;
 #ifdef ATH_AHB
 extern struct hostdef_s *IPQ4019_HOSTdef;
-extern struct hostdef_s *QCA8074_HOSTdef;
 #endif
+extern struct hostdef_s *QCA8074_HOSTdef;
 
 #endif
diff --git a/hif/inc/targetdef.h b/hif/inc/targetdef.h
index 7c16d04..d2d3e9b 100644
--- a/hif/inc/targetdef.h
+++ b/hif/inc/targetdef.h
@@ -35,8 +35,8 @@
 extern struct targetdef_s *QCA9888_TARGETdef;
 #ifdef ATH_AHB
 extern struct targetdef_s *IPQ4019_TARGETdef;
-extern struct targetdef_s *QCA8074_TARGETdef;
 #endif
+extern struct targetdef_s *QCA8074_TARGETdef;
 
 extern struct ce_reg_def *AR6002_CE_TARGETdef;
 extern struct ce_reg_def *AR6003_CE_TARGETdef;
@@ -49,8 +49,8 @@
 extern struct ce_reg_def *QCA9888_CE_TARGETdef;
 #ifdef ATH_AHB
 extern struct ce_reg_def *IPQ4019_CE_TARGETdef;
-extern struct ce_reg_def *QCA8074_CE_TARGETdef;
 #endif
+extern struct ce_reg_def *QCA8074_CE_TARGETdef;
 
 
 #endif
diff --git a/hif/src/regtable.c b/hif/src/regtable.c
index f96c768..f64a731 100644
--- a/hif/src/regtable.c
+++ b/hif/src/regtable.c
@@ -103,13 +103,13 @@
 		scn->target_ce_def = IPQ4019_CE_TARGETdef;
 		break;
 #endif
+#endif
 #if defined(QCA8074_HEADERS_DEF)
 	case TARGET_TYPE_QCA8074:
 		scn->targetdef = QCA8074_TARGETdef;
 		scn->target_ce_def = QCA8074_CE_TARGETdef;
 		break;
 #endif
-#endif
 
 	default:
 		break;
@@ -173,12 +173,12 @@
 		scn->hostdef = IPQ4019_HOSTdef;
 		break;
 #endif
+#endif
 #if defined(QCA8074_HEADERS_DEF)
 	case HIF_TYPE_QCA8074:
 		scn->hostdef = QCA8074_HOSTdef;
 		break;
 #endif
-#endif
 
 	default:
 		break;