OSDN Git Service

iio: adc: mt6360: Include right header
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Feb 2021 15:34:47 +0000 (16:34 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 11 Mar 2021 20:47:13 +0000 (20:47 +0000)
commitb923561fabc33664b25470b101857712339e1021
tree3a2dbf8dd705c18dcb0c2b68cb2f09d09f41508c
parent15aacc980dcb326ef33dfc32772faea1067f9178
iio: adc: mt6360: Include right header

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

Cc: Gene Chen <gene_chen@richtek.com>
Suggested-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210215153447.48457-1-linus.walleij@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/mt6360-adc.c