mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00:00
iio: adc: max11410: Use asm intead of asm-generic
There is no point to specify asm-generic for the unaligned.h. Drop the 'generic' suffix and move the inclusion to be after the non-IIO linux/* ones. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230103144903.39905-1-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
4b570fe0d4
commit
591a6bc7f4
@ -4,7 +4,6 @@
|
||||
*
|
||||
* Copyright 2022 Analog Devices Inc.
|
||||
*/
|
||||
#include <asm-generic/unaligned.h>
|
||||
#include <linux/bitfield.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/device.h>
|
||||
@ -16,6 +15,8 @@
|
||||
#include <linux/regulator/consumer.h>
|
||||
#include <linux/spi/spi.h>
|
||||
|
||||
#include <asm/unaligned.h>
|
||||
|
||||
#include <linux/iio/buffer.h>
|
||||
#include <linux/iio/sysfs.h>
|
||||
#include <linux/iio/trigger.h>
|
||||
|
Loading…
Reference in New Issue
Block a user