mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-24 05:54:08 +00:00
io_dummy: correct sparse warnings
Include io_dummy.h header file. Use static for device_type_dummy function. Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
This commit is contained in:
parent
5a8e2aeec4
commit
d60e6bae02
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <io_driver.h>
|
#include <io_driver.h>
|
||||||
|
#include <io_dummy.h>
|
||||||
#include <io_storage.h>
|
#include <io_storage.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -18,7 +19,7 @@ struct file_state {
|
||||||
static struct file_state current_file = {0};
|
static struct file_state current_file = {0};
|
||||||
|
|
||||||
/* Identify the device type as dummy */
|
/* Identify the device type as dummy */
|
||||||
io_type_t device_type_dummy(void)
|
static io_type_t device_type_dummy(void)
|
||||||
{
|
{
|
||||||
return IO_TYPE_DUMMY;
|
return IO_TYPE_DUMMY;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue