Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: adc: twl4030-madc: add missing of.h include

The driver is using of_device_id/of_match_ptr() and therefore needs
to include of.h header. We used to get this definition indirectly via
inclusion of matrix_keypad.h from twl.h, but we are cleaning up
matrix_keypad.h from unnecessary includes.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20220927154611.3330871-3-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

+1
+1
drivers/iio/adc/twl4030-madc.c
··· 30 30 #include <linux/types.h> 31 31 #include <linux/gfp.h> 32 32 #include <linux/err.h> 33 + #include <linux/of.h> 33 34 #include <linux/regulator/consumer.h> 34 35 35 36 #include <linux/iio/iio.h>