summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2018-12-21 15:32:28 +0530
committerAnup Patel <[email protected]>2018-12-21 15:32:28 +0530
commitdb6c1fe78bebc103670becba39e1c34bcdc48185 (patch)
treea225fdab94efd53fb57cc9f88ba6662b51569edd
parentef5f4e149c9f6f354d48463f30f7bf0f759d8028 (diff)
platform: kendryte/k210: Don't include math.h
The math.h is not required anymore and it also gives compile error for certain toolchains hence thsi patch removes math.h include from kendryte/k210/sysctl.c. Signed-off-by: Anup Patel <[email protected]>
-rw-r--r--platform/kendryte/k210/sysctl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/kendryte/k210/sysctl.c b/platform/kendryte/k210/sysctl.c
index 8039f6e7..90aa0e23 100644
--- a/platform/kendryte/k210/sysctl.c
+++ b/platform/kendryte/k210/sysctl.c
@@ -13,7 +13,6 @@
* limitations under the License.
*/
#include <sbi/riscv_encoding.h>
-#include <math.h>
#include "sysctl.h"
#define SYSCTRL_CLOCK_FREQ_IN0 (26000000UL)