diff options
| author | Tom Rini <[email protected]> | 2025-05-21 16:51:21 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-06-02 17:26:16 -0600 |
| commit | 2266595bf893edb07331ca8464738e0d4c82c129 (patch) | |
| tree | 03788eb0bdcac71e0051a7a39d48629b1a63d92e /lib | |
| parent | 2cf46de9b6b8463033ba4f9243643d004dc9ea5a (diff) | |
include/mtd.h: Cleanup usage
There are only a few things found in <mtd.h> today. Go through and audit
the C files which include <mtd.h> and remove it when not required. Then,
add it to the files which had either missed it or had an indirect
inclusion of it.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/fwu_updates/fwu_v1.c | 1 | ||||
| -rw-r--r-- | lib/fwu_updates/fwu_v2.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/fwu_updates/fwu_v1.c b/lib/fwu_updates/fwu_v1.c index c311a8857a6..974abf216f6 100644 --- a/lib/fwu_updates/fwu_v1.c +++ b/lib/fwu_updates/fwu_v1.c @@ -3,6 +3,7 @@ * Copyright (c) 2024, Linaro Limited */ +#include <errno.h> #include <fwu.h> #include <fwu_mdata.h> diff --git a/lib/fwu_updates/fwu_v2.c b/lib/fwu_updates/fwu_v2.c index ce46904ff2e..159315b45b9 100644 --- a/lib/fwu_updates/fwu_v2.c +++ b/lib/fwu_updates/fwu_v2.c @@ -3,6 +3,7 @@ * Copyright (c) 2024, Linaro Limited */ +#include <errno.h> #include <fwu.h> #include <fwu_mdata.h> #include <log.h> |
