From 26239bfee943b5e6bbf8ee03a9cf76208d90adfa Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Tue, 2 Jul 2019 13:00:00 +0300 Subject: sandbox: eliminale no previous prototype for ‘sandbox_add_device’ warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The patch fixes the following gcc-8.3.0 warning: arch/sandbox/board/devices.c:13:5: warning: no previous prototype for ‘sandbox_add_device’ [-Wmissing-prototypes] int sandbox_add_device(struct device_d *dev) ^~~~~~~~~~~~~~~~~~ Signed-off-by: Antony Pavlov Signed-off-by: Sascha Hauer --- arch/sandbox/board/devices.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sandbox/board/devices.c b/arch/sandbox/board/devices.c index 10d6b67cc4..242a0d718e 100644 --- a/arch/sandbox/board/devices.c +++ b/arch/sandbox/board/devices.c @@ -6,6 +6,7 @@ #include #include +#include #include static LIST_HEAD(sandbox_device_list); -- cgit v1.2.3