efi: Tidy up header includes
authorSimon Glass <sjg@chromium.org>
Sun, 19 Jul 2020 16:15:43 +0000 (10:15 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 4 Aug 2020 02:19:54 +0000 (22:19 -0400)
commite1e10f29f9b5739b39b08b0c0040ec0cb315f3d7
treebb6d93d51f3681b026d5ce5706809f247ac85292
parent411e9eb88c0cf2b99f3dcaa9b300c0e52ee751f3
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>
include/efi_driver.h
lib/efi_driver/efi_block_device.c
lib/efi_driver/efi_uclass.c