From: Andy Shevchenko Date: Sun, 4 Jun 2023 13:28:58 +0000 (+0300) Subject: mac_pton: Clean up the header inclusions X-Git-Tag: v6.6.17~4555^2~168 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d2b2281aea90ab265733c3cda83b73a01ca352f;p=platform%2Fkernel%2Flinux-rpi.git mac_pton: Clean up the header inclusions Since hex_to_bin() is provided by hex.h there is no need to require kernel.h. Replace the latter by the former and add missing export.h. Signed-off-by: Andy Shevchenko Link: https://lore.kernel.org/r/20230604132858.6650-1-andriy.shevchenko@linux.intel.com Signed-off-by: Paolo Abeni --- diff --git a/lib/net_utils.c b/lib/net_utils.c index c17201d..42bb047 100644 --- a/lib/net_utils.c +++ b/lib/net_utils.c @@ -2,7 +2,8 @@ #include #include #include -#include +#include +#include bool mac_pton(const char *s, u8 *mac) {