From: Linus Walleij Date: Mon, 15 Feb 2021 15:30:32 +0000 (+0100) Subject: iio: magnetometer: yas530: Include right header X-Git-Tag: v5.12.4~636 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=71ec5597189caadedf1e08c0e947acc7737d0e1e;p=thirdparty%2Fkernel%2Fstable.git iio: magnetometer: yas530: Include right header commit bb354aeb364f9dee51e16edfdf6194ce4ba9237e upstream. To get access to the big endian byte order parsing helpers drivers need to include and nothing else. Reported-by: kernel test robot Suggested-by: Harvey Harrison Signed-off-by: Linus Walleij Cc: Link: https://lore.kernel.org/r/20210215153032.47962-1-linus.walleij@linaro.org Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/iio/magnetometer/yamaha-yas530.c b/drivers/iio/magnetometer/yamaha-yas530.c index d46f23d82b3da..7ced5613b161e 100644 --- a/drivers/iio/magnetometer/yamaha-yas530.c +++ b/drivers/iio/magnetometer/yamaha-yas530.c @@ -32,13 +32,14 @@ #include #include #include -#include #include #include #include #include +#include + /* This register map covers YAS530 and YAS532 but differs in YAS 537 and YAS539 */ #define YAS5XX_DEVICE_ID 0x80 #define YAS5XX_ACTUATE_INIT_COIL 0x81