diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-06-15 12:31:14 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-06-15 19:43:58 +0200 |
commit | 24552d10339f13d2174e013002da3ed90e26adda (patch) | |
tree | c49e4ac07b6c5e9266661d4a69126de6d01b5e46 /drivers/firmware | |
parent | 2963795122f50b36ed16e3ba880c3ed2de1bda6e (diff) |
efi/libstub: Fix missing-prototype warning for skip_spaces()
Include <linux/string.h> into skip_spaces.c to silence a compiler
warning about a missing prototype.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/efi/libstub/skip_spaces.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/efi/libstub/skip_spaces.c b/drivers/firmware/efi/libstub/skip_spaces.c index a700b3c7f7d0..159fb4e456c6 100644 --- a/drivers/firmware/efi/libstub/skip_spaces.c +++ b/drivers/firmware/efi/libstub/skip_spaces.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include <linux/ctype.h> +#include <linux/string.h> #include <linux/types.h> char *skip_spaces(const char *str) |