summaryrefslogtreecommitdiff
path: root/include/sbi
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-09-17 13:21:00 +0300
committerAnup Patel <anup@brainfault.org>2020-10-20 08:46:37 +0300
commitdbeeacb878b1b11c8d1df35f8a5db2b6ccf69c7b (patch)
tree5fb8c7ac1706940a80d372d7122384d3d95a4cfd /include/sbi
parenta0f2d4a10c8b58065416bf963987b7358168fba9 (diff)
downloadopensbi-dbeeacb878b1b11c8d1df35f8a5db2b6ccf69c7b.tar.xz
include: sbi: Remove redundant includes from sbi_platform.h
The sbi_ecall.h and sbi_trap.h are not required to be included in sbi_platform.h hence we remove it. This way sources requiring these headers will have to explicitly include it thereby reducing implicit includes. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'include/sbi')
-rw-r--r--include/sbi/sbi_platform.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sbi/sbi_platform.h b/include/sbi/sbi_platform.h
index 8087148..f51e36a 100644
--- a/include/sbi/sbi_platform.h
+++ b/include/sbi/sbi_platform.h
@@ -40,12 +40,12 @@
#ifndef __ASSEMBLY__
-#include <sbi/sbi_ecall.h>
#include <sbi/sbi_error.h>
#include <sbi/sbi_scratch.h>
-#include <sbi/sbi_trap.h>
#include <sbi/sbi_version.h>
+struct sbi_trap_info;
+
/** Possible feature flags of a platform */
enum sbi_platform_features {
/** Platform has timer value */