diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-03-29 10:20:41 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-01 10:38:55 +0200 |
commit | 439d6830517e15a2b31e90733b8aeaaf98b9e0f2 (patch) | |
tree | 7fdd5aade40a7645d4912e3491eab62c06ef831f /scripts | |
parent | 82d40a62141752acbd9677a32ebe54f405dd99fa (diff) | |
download | barebox-439d6830517e15a2b31e90733b8aeaaf98b9e0f2.tar.gz barebox-439d6830517e15a2b31e90733b8aeaaf98b9e0f2.tar.xz |
imd: rename imd_search_validate to imd_get
The name is more suitable for what the function does. Also let the
function return a pointer to the imd data found in the buffer.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/bareboximd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/bareboximd.c b/scripts/bareboximd.c index a3622af821..d4da681eca 100644 --- a/scripts/bareboximd.c +++ b/scripts/bareboximd.c @@ -33,6 +33,7 @@ #include <string.h> #include <errno.h> #include <stdarg.h> +#include <linux/err.h> #include "../include/image-metadata.h" |