watchdog: twl4030_wdt: add missing mod_devicetable.h include
Subsystems (5)
PATCH v2 1/3 watchdog: twl4030_wdt: add missing mod_devicetable.h include
The driver is using of_device_id and therefore needs to include mod_devicetable.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.
---
v2: changed from of.h to mod_devicetable.h per Andy Shevchenko
drivers/watchdog/twl4030_wdt.c | 1 + 1 file changed, 1 insertion(+)
drivers/watchdog/twl4030_wdt.c +1 -0
@@ -9,6 +9,7 @@#include <linux/types.h> #include <linux/slab.h> #include <linux/kernel.h> +#include <linux/mod_devicetable.h> #include <linux/watchdog.h> #include <linux/platform_device.h> #include <linux/mfd/twl.h>
Signature · 1 line
2.38.0.rc1.362.ged0d419d3c-goog
PATCH v2 2/3 mfd: twl4030-irq: add missing device.h include
The driver is using "struct device" and therefore needs to include device.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.
---
v2: added Andy's reviewed-by
drivers/mfd/twl4030-irq.c | 1 + 1 file changed, 1 insertion(+)
drivers/mfd/twl4030-irq.c +1 -0
@@ -14,6 +14,7 @@* by syed khasim <[email protected]> */ +#include <linux/device.h> #include <linux/export.h> #include <linux/interrupt.h> #include <linux/irq.h>
Signature · 1 line
2.38.0.rc1.362.ged0d419d3c-goog
Re: [PATCH v2 2/3] mfd: twl4030-irq: add missing device.h include
Quoted 5 lines · Dmitry Torokhov
The driver is using "struct device" and therefore needs to include
device.hheader. We used to get this definition indirectly via inclusion ofmatrix_keypad.hfromtwl.h, but we are cleaning upmatrix_keypad.hfrom unnecessary includes.
Quoted 8 lines
Reviewed-by Andy Shevchenko <[email protected]>Signed-off-by Dmitry Torokhov <[email protected]>---
v2: added Andy's reviewed-by
drivers/mfd/twl4030-irq.c | 1 + 1 file changed, 1 insertion(+)
Applied, thanks.
Signature · 1 line
Lee Jones [李琼斯]
PATCH v2 3/3 iio: adc: twl4030-madc: add missing of.h include
In reply to Dmitry TorokhovThe 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.
---
v2: adjusted patch description
drivers/iio/adc/twl4030-madc.c | 1 + 1 file changed, 1 insertion(+)
drivers/iio/adc/twl4030-madc.c +1 -0
@@ -30,6 +30,7 @@#include <linux/types.h> #include <linux/gfp.h> #include <linux/err.h> +#include <linux/of.h> #include <linux/regulator/consumer.h> #include <linux/iio/iio.h>
Signature · 1 line
2.38.0.rc1.362.ged0d419d3c-goog
Re: [PATCH v2 3/3] iio: adc: twl4030-madc: add missing of.h include
Quoted 4 lines · Dmitry Torokhov
The driver is using of_device_id/of_match_ptr() and therefore needs to include
of.hheader. We used to get this definition indirectly via inclusion ofmatrix_keypad.hfromtwl.h, but we are cleaning upmatrix_keypad.hfrom unnecessary includes.
Quoted 23 lines
Signed-off-by Dmitry Torokhov <[email protected]>---
v2: adjusted patch description
drivers/iio/adc/twl4030-madc.c | 1 + 1 file changed, 1 insertion(+)drivers/iio/adc/twl4030-madc.c +1
-0@@ -30,6 +30,7 @@#include <linux/types.h> #include <linux/gfp.h> #include <linux/err.h> +#include <linux/of.h> #include <linux/regulator/consumer.h> #include <linux/iio/iio.h> Signature · 1 line
2.38.0.rc1.362.ged0d419d3c-goog
Signature · 2 lines
With Best Regards, Andy Shevchenko
Re: [PATCH v2 3/3] iio: adc: twl4030-madc: add missing of.h include
Quoted 7 lines · On Tue, 27 Sep 2022 19:20:00 +0300 Andy Shevchenko…
Quoted 4 lines · Dmitry Torokhov
The driver is using of_device_id/of_match_ptr() and therefore needs to include
of.hheader. We used to get this definition indirectly via inclusion ofmatrix_keypad.hfromtwl.h, but we are cleaning upmatrix_keypad.hfrom unnecessary includes.Reviewed-by Andy Shevchenko <[email protected]>
Applied to the togreg branch of iio.git and pushed out as testing for 0-day to take a look.
Note that this is 6.2 material now - if that's an issue for the matrix_keypad.h cleanup then feel free to take it via the input tree with
but shout in reply to this so I know to drop it from the iio tree.
Thanks,
Jonathan
Quoted 25 lines
Quoted 24 lines
Signed-off-by Dmitry Torokhov <[email protected]>---
v2: adjusted patch description
drivers/iio/adc/twl4030-madc.c | 1 + 1 file changed, 1 insertion(+)drivers/iio/adc/twl4030-madc.c +1
-0@@ -30,6 +30,7 @@#include <linux/types.h> #include <linux/gfp.h> #include <linux/err.h> +#include <linux/of.h> #include <linux/regulator/consumer.h> #include <linux/iio/iio.h> Signature · 1 line
2.38.0.rc1.362.ged0d419d3c-goog
Re: [PATCH v2 3/3] iio: adc: twl4030-madc: add missing of.h include
Quoted 9 lines · Jonathan Cameron
Quoted 6 lines · On Tue, 27 Sep 2022 19:20:00 +0300 Andy Shevchenko…
Quoted 4 lines · Dmitry Torokhov
The driver is using of_device_id/of_match_ptr() and therefore needs to include
of.hheader. We used to get this definition indirectly via inclusion ofmatrix_keypad.hfromtwl.h, but we are cleaning upmatrix_keypad.hfrom unnecessary includes.
Quoted 8 lines
Quoted 1 line
Reviewed-by Andy Shevchenko <[email protected]>Applied to the togreg branch of iio.git and pushed out as testing for 0-day to take a look.
Note that this is 6.2 material now - if that's an issue for the
matrix_keypad.hcleanup then feel free to take it via the input tree withAcked-by Jonathan Cameron <[email protected]>but shout in reply to this so I know to drop it from the iio tree.
OK, it is not urgent, but I do not want to lose matrix keypad changes...
How about I'll wait to see where the rest of the patches end, and if they end up in 6.1 I'll queue twl4030-madc.c through my tree together with the header change?
Thanks.
Signature · 1 line
Dmitry
Jonathan Cameron
maintainerRe: [PATCH v2 3/3] iio: adc: twl4030-madc: add missing of.h include
Quoted 19 lines · On Sat, 1 Oct 2022 15:14:08 -0700 Dmitry Torokhov <[email protected]>…
Quoted 9 lines · Jonathan Cameron
Quoted 6 lines · On Tue, 27 Sep 2022 19:20:00 +0300 Andy Shevchenko…
Quoted 4 lines · Dmitry Torokhov
The driver is using of_device_id/of_match_ptr() and therefore needs to include
of.hheader. We used to get this definition indirectly via inclusion ofmatrix_keypad.hfromtwl.h, but we are cleaning upmatrix_keypad.hfrom unnecessary includes.Quoted 8 lines
Quoted 1 line
Reviewed-by Andy Shevchenko <[email protected]>Applied to the togreg branch of iio.git and pushed out as testing for 0-day to take a look.
Note that this is 6.2 material now - if that's an issue for the
matrix_keypad.hcleanup then feel free to take it via the input tree withAcked-by Jonathan Cameron <[email protected]>but shout in reply to this so I know to drop it from the iio tree.
Quoted 8 lines
OK, it is not urgent, but I do not want to lose matrix keypad changes...
How about I'll wait to see where the rest of the patches end, and if they end up in 6.1 I'll queue
twl4030-madc.cthrough my tree together with the header change?Thanks.
Ok. I'll drop it for now - let me know if I should pick it up once everything settles down.
Jonathan
Re: [PATCH v2 3/3] iio: adc: twl4030-madc: add missing of.h include
Quoted 24 lines · Jonathan Cameron
Quoted 21 lines · On Sat, 1 Oct 2022 15:14:08 -0700 Dmitry Torokhov <[email protected]>…
Quoted 9 lines · Jonathan Cameron
Quoted 6 lines · On Tue, 27 Sep 2022 19:20:00 +0300 Andy Shevchenko…
Quoted 4 lines · Dmitry Torokhov
The driver is using of_device_id/of_match_ptr() and therefore needs to include
of.hheader. We used to get this definition indirectly via inclusion ofmatrix_keypad.hfromtwl.h, but we are cleaning upmatrix_keypad.hfrom unnecessary includes.Quoted 8 lines
Quoted 1 line
Reviewed-by Andy Shevchenko <[email protected]>Applied to the togreg branch of iio.git and pushed out as testing for 0-day to take a look.
Note that this is 6.2 material now - if that's an issue for the
matrix_keypad.hcleanup then feel free to take it via the input tree withAcked-by Jonathan Cameron <[email protected]>but shout in reply to this so I know to drop it from the iio tree.
OK, it is not urgent, but I do not want to lose matrix keypad changes...
Quoted 8 lines
Quoted 6 lines
How about I'll wait to see where the rest of the patches end, and if they end up in 6.1 I'll queue
twl4030-madc.cthrough my tree together with the header change?Thanks.
Ok. I'll drop it for now - let me know if I should pick it up once everything settles down.
Because the other patches have landed in 6.1 timeframe I picked up this patch and the header change myself.
Thanks.
Signature · 1 line
Dmitry
Re: [PATCH v2 3/3] iio: adc: twl4030-madc: add missing of.h include
In reply to Dmitry TorokhovQuoted 4 lines · Dmitry Torokhov
The driver is using of_device_id/of_match_ptr() and therefore needs to include
of.hheader. We used to get this definition indirectly via inclusion ofmatrix_keypad.hfromtwl.h, but we are cleaning upmatrix_keypad.hfrom unnecessary includes.
Quoted 23 lines
Signed-off-by Dmitry Torokhov <[email protected]>---
v2: adjusted patch description
drivers/iio/adc/twl4030-madc.c | 1 + 1 file changed, 1 insertion(+)drivers/iio/adc/twl4030-madc.c +1
-0@@ -30,6 +30,7 @@#include <linux/types.h> #include <linux/gfp.h> #include <linux/err.h> +#include <linux/of.h> #include <linux/regulator/consumer.h> #include <linux/iio/iio.h> Signature · 1 line
2.38.0.rc1.362.ged0d419d3c-goog
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 6 lines · Dmitry Torokhov
The driver is using
of_device_idand therefore needs to includemod_devicetable.hheader. We used to get this definition indirectly via inclusion ofmatrix_keypad.hfromtwl.h, but we are cleaning upmatrix_keypad.hfrom unnecessary includes.Signed-off-by Dmitry Torokhov <[email protected]>
Quoted 22 lines
---
v2: changed from
of.htomod_devicetable.hper Andy Shevchenkodrivers/watchdog/twl4030_wdt.c | 1 + 1 file changed, 1 insertion(+)drivers/watchdog/twl4030_wdt.c +1
-0@@ -9,6 +9,7 @@#include <linux/types.h> #include <linux/slab.h> #include <linux/kernel.h> +#include <linux/mod_devicetable.h> #include <linux/watchdog.h> #include <linux/platform_device.h> #include <linux/mfd/twl.h> Signature · 1 line
2.38.0.rc1.362.ged0d419d3c-goog