diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-19 10:15:43 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-08-03 22:19:54 -0400 |
commit | e1e10f29f9b5739b39b08b0c0040ec0cb315f3d7 (patch) | |
tree | bb6d93d51f3681b026d5ce5706809f247ac85292 /lib/efi_driver/efi_block_device.c | |
parent | 411e9eb88c0cf2b99f3dcaa9b300c0e52ee751f3 (diff) |
efi: Tidy up header includes
Two files relies on efi_driver.h to include common.h and dm.h which is
incorrect. The former should always be included in a non-host C file and
the latter should be included if driver model is used.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/efi_driver/efi_block_device.c')
-rw-r--r-- | lib/efi_driver/efi_block_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/efi_driver/efi_block_device.c b/lib/efi_driver/efi_block_device.c index e7d8745ad8..0e72a68bce 100644 --- a/lib/efi_driver/efi_block_device.c +++ b/lib/efi_driver/efi_block_device.c @@ -30,6 +30,7 @@ #include <common.h> #include <blk.h> +#include <dm.h> #include <efi_driver.h> #include <malloc.h> #include <dm/device-internal.h> |