diff options
author | Tom Rini | 2024-04-27 08:10:58 -0600 |
---|---|---|
committer | Tom Rini | 2024-05-06 15:05:04 -0600 |
commit | 752ed0867522a68f21392a6b9d78589129248572 (patch) | |
tree | f9afa518638e79176c34af5aaf8ac36712e357b5 /include | |
parent | 702841b56e9113acd7dea78c432cfd186c0293f4 (diff) |
test: Remove <common.h> and add needed includes
Remove <common.h> from all "test/" files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/adc.h | 2 | ||||
-rw-r--r-- | include/audio_codec.h | 2 | ||||
-rw-r--r-- | include/axi.h | 2 | ||||
-rw-r--r-- | include/bootmeth.h | 2 | ||||
-rw-r--r-- | include/bootstd.h | 2 | ||||
-rw-r--r-- | include/cedit.h | 3 | ||||
-rw-r--r-- | include/dm/test.h | 2 |
7 files changed, 15 insertions, 0 deletions
diff --git a/include/adc.h b/include/adc.h index 0d1a666908f..15e4cdb7dce 100644 --- a/include/adc.h +++ b/include/adc.h @@ -7,6 +7,8 @@ #ifndef _ADC_H_ #define _ADC_H_ +#include <stdbool.h> + /* ADC_CHANNEL() - ADC channel bit mask, to select only required channels */ #define ADC_CHANNEL(x) (1 << x) diff --git a/include/audio_codec.h b/include/audio_codec.h index a81a3151576..a87b76c6f9e 100644 --- a/include/audio_codec.h +++ b/include/audio_codec.h @@ -7,6 +7,8 @@ #ifndef __AUDIO_CODEC_H__ #define __AUDIO_CODEC_H__ +#include <linux/types.h> + struct udevice; /* diff --git a/include/axi.h b/include/axi.h index 59fb0b2e458..133a06ee271 100644 --- a/include/axi.h +++ b/include/axi.h @@ -7,6 +7,8 @@ #ifndef _AXI_H_ #define _AXI_H_ +#include <linux/types.h> + struct udevice; /** diff --git a/include/bootmeth.h b/include/bootmeth.h index 0fc36104ece..cd9517321c0 100644 --- a/include/bootmeth.h +++ b/include/bootmeth.h @@ -7,6 +7,8 @@ #ifndef __bootmeth_h #define __bootmeth_h +#include <linux/bitops.h> + struct blk_desc; struct bootflow; struct bootflow_iter; diff --git a/include/bootstd.h b/include/bootstd.h index 99ce7b64e7c..ac756e98d84 100644 --- a/include/bootstd.h +++ b/include/bootstd.h @@ -10,6 +10,8 @@ #define __bootstd_h #include <dm/ofnode_decl.h> +#include <linux/list.h> +#include <linux/types.h> struct udevice; diff --git a/include/cedit.h b/include/cedit.h index f43cafa5aa2..a31b4245247 100644 --- a/include/cedit.h +++ b/include/cedit.h @@ -7,12 +7,15 @@ #ifndef __CEDIT_H #define __CEDIT_H +#include <stdbool.h> #include <dm/ofnode_decl.h> +#include <linux/types.h> struct abuf; struct expo; struct scene; struct video_priv; +struct udevice; enum { /* size increment for writing FDT */ diff --git a/include/dm/test.h b/include/dm/test.h index b5937509212..02737411a16 100644 --- a/include/dm/test.h +++ b/include/dm/test.h @@ -6,6 +6,8 @@ #ifndef __DM_TEST_H #define __DM_TEST_H +#include <linux/types.h> + struct udevice; /** |