diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-14 14:03:05 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-27 10:23:09 -0600 |
commit | 487d756f78629f5e9465c7ace2c14ef51401bc3b (patch) | |
tree | c669f291758c0d845b0aea77bf293de0c5fe0692 /include/efi_loader.h | |
parent | 19d2e34237d5c077b2dc395522a1559e4b5c62df (diff) | |
download | u-boot-487d756f78629f5e9465c7ace2c14ef51401bc3b.tar.gz |
dm: efi: Update for CONFIG_BLK
This code does not currently build with driver model enabled for block
devices. Update it to correct this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r-- | include/efi_loader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index 88b8149b14..44a950f484 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -134,7 +134,7 @@ uint64_t efi_add_memory_map(uint64_t start, uint64_t pages, int memory_type, int efi_memory_init(void); /* Convert strings from normal C strings to uEFI strings */ -static inline void ascii2unicode(u16 *unicode, char *ascii) +static inline void ascii2unicode(u16 *unicode, const char *ascii) { while (*ascii) *(unicode++) = *(ascii++); |