summaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/smc_api.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-04-30 07:35:34 -0600
committerTom Rini <trini@konsulko.com>2024-05-06 15:06:33 -0600
commit2b97f1506573477504616b102bf7bd06952355d2 (patch)
tree99689d97a1f137ddff8aeb6f99ef110ed8b4e417 /arch/arm/mach-socfpga/smc_api.c
parentdebd98265de384bb2ca2bfb169fb30ca175f2f69 (diff)
arm: socfpga: Remove <common.h> and add needed includes
Remove <common.h> from all mach-socfpga files and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/mach-socfpga/smc_api.c')
-rw-r--r--arch/arm/mach-socfpga/smc_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-socfpga/smc_api.c b/arch/arm/mach-socfpga/smc_api.c
index 8ffc7a472b5..ebaa0b8fa17 100644
--- a/arch/arm/mach-socfpga/smc_api.c
+++ b/arch/arm/mach-socfpga/smc_api.c
@@ -4,10 +4,11 @@
*
*/
-#include <common.h>
#include <asm/ptrace.h>
#include <asm/system.h>
+#include <linux/errno.h>
#include <linux/intel-smc.h>
+#include <linux/string.h>
int invoke_smc(u32 func_id, u64 *args, int arg_len, u64 *ret_arg, int ret_len)
{