]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: berlin2-adc: explicitly add proper header files
authorNuno Sá <nuno.sa@analog.com>
Fri, 10 Jun 2022 08:45:14 +0000 (10:45 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 14 Jun 2022 10:53:20 +0000 (11:53 +0100)
commita81fc9abbbfc1df2dcac72f70afcccd0a3dcf462
treea48a513d2d3dacdee295466d2344f7b6b8bbec80
parent2b7c096f09657be188bd09fd7b8c95abd4670528
iio: adc: berlin2-adc: explicitly add proper header files

Do not trust the fact that iio.h includes of.h which in turn includes
all the headers we are relying on.

The ultimate goal is to actually drop of.h from iio.h.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220610084545.547700-4-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/berlin2-adc.c