]> git.baikalelectronics.ru Git - kernel.git/commit
iio: magnetometer: yas530: Include right header
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Feb 2021 15:30:32 +0000 (16:30 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 7 Apr 2021 07:36:40 +0000 (08:36 +0100)
commitb0f6c364e6269941e4f324ad8b37daffc5561689
treec5880416299f18aa9af5823eb2429072fc785dc5
parentda3452bfac70dbb29d21c5c43a5dcacfae41f654
iio: magnetometer: yas530: Include right header

To get access to the big endian byte order parsing helpers
drivers need to include <asm/unaligned.h> and nothing else.

Reported-by: kernel test robot <lkp@intel.com>
Suggested-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: <Stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210215153032.47962-1-linus.walleij@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/yamaha-yas530.c