[qca-nss-drv] make frequency scaling compilable option

Frequency scaling is not supported on Remora platform. So this
will be enabled by compile time flag.

Change-Id: Iaacd7a95600cb8236ab7c5d8464d9d79dc46dce3
Signed-off-by: Arunkumar T <athand@codeaurora.org>
diff --git a/nss_init.c b/nss_init.c
index 44861b3..b7399bd 100755
--- a/nss_init.c
+++ b/nss_init.c
@@ -702,7 +702,9 @@
 		}
 	}
 
+#if (NSS_FREQ_SCALE_SUPPORT == 1)
 	nss_freq_register_handler();
+#endif
 	nss_lso_rx_register_handler();
 
 	nss_top->frequency_handler_id = nss_dev->id;
@@ -931,6 +933,7 @@
 	},
 };
 
+#if (NSS_FREQ_SCALE_SUPPORT == 1)
 /*
  * nss_reset_frequency_stats_samples()
  *	Reset all frequency sampling state when auto scaling is turned off.
@@ -1149,6 +1152,7 @@
 
 	return ret;
 }
+#endif
 
 #if (NSS_FW_DBG_SUPPORT == 1)
 /*
@@ -1265,6 +1269,7 @@
 	return ret;
 }
 
+#if (NSS_FREQ_SCALE_SUPPORT == 1)
 /*
  * sysctl-tuning infrastructure.
  */
@@ -1299,6 +1304,7 @@
 	},
 	{ }
 };
+#endif
 
 static ctl_table nss_general_table[] = {
 	{
@@ -1356,11 +1362,13 @@
 };
 
 static ctl_table nss_clock_dir[] = {
+#if (NSS_FREQ_SCALE_SUPPORT == 1)
 	{
 		.procname               = "clock",
 		.mode                   = 0555,
 		.child                  = nss_freq_table,
 	},
+#endif
 	{
 		.procname               = "general",
 		.mode                   = 0555,