Properly gate NV_SEED additions in test suite
diff --git a/tests/suites/test_suite_entropy.function b/tests/suites/test_suite_entropy.function
index 999b5f6..82f8332 100644
--- a/tests/suites/test_suite_entropy.function
+++ b/tests/suites/test_suite_entropy.function
@@ -35,6 +35,7 @@
     return( 0 );
 }
 
+#if defined(MBEDTLS_ENTROPY_NV_SEED)
 /*
  * Ability to clear entropy sources to allow testing with just predefined
  * entropy sources. This function or tests depending on it might break if there
@@ -114,6 +115,7 @@
 
     return( 0 );
 }
+#endif /* MBEDTLS_ENTROPY_NV_SEED */
 /* END_HEADER */
 
 /* BEGIN_DEPENDENCIES