extcon: max3355: include mod_devicetable.h
PATCH 1/1 extcon: max3355: include mod_devicetable.h
Another driver turned up that is missing linux/mod_devicetable.h after the device IDs are split out from linux/platform_device.h:
drivers/extcon/extcon-max3355.c:127:34: error: array type has incomplete element type 'struct of_device_id'
static const struct of_device_id max3355_match_table[] = {
---
Greg, please add that to the char-misc tree that already has other related patches.
--- drivers/extcon/extcon-max3355.c | 1 + 1 file changed, 1 insertion(+)
drivers/extcon/extcon-max3355.c +1 -0
@@ -14,6 +14,7 @@#include <linux/gpio/consumer.h> #include <linux/interrupt.h> #include <linux/module.h> +#include <linux/mod_devicetable.h> #include <linux/platform_device.h> struct max3355_data {
Signature · 1 line
2.9.0
Quoted 21 lines · Arnd Bergmann
Another driver turned up that is missing
linux/mod_devicetable.hafter the device IDs are split out fromlinux/platform_device.h:
drivers/extcon/extcon-max3355.c:127:34: error: array type has incomplete element type 'structof_device_id'
static const structof_device_idmax3355_match_table[] = {Fixes ac3167257b9f ("headers: separate linux/mod_devicetable.h from linux/platform_device.h")Signed-off-by Arnd Bergmann <[email protected]>---
Greg, please add that to the char-misc tree that already has other related patches.--- drivers/extcon/extcon-max3355.c | 1 + 1 file changed, 1 insertion(+)drivers/extcon/extcon-max3355.c +0
-0
drivers/extcon/extcon-max3355.c line 20
Quoted 7 lines
drivers/extcon/extcon-max3355.c +1
-0@@ -14,6 +14,7 @@#include <linux/gpio/consumer.h> #include <linux/interrupt.h> #include <linux/module.h> +#include <linux/mod_devicetable.h> #include <linux/platform_device.h> struct max3355_data {
Applied it. Thanks.
Signature · 3 lines
Best Regards, Chanwoo Choi Samsung Electronics
Chanwoo Choi
maintainerQuoted 27 lines · Chanwoo Choi
Quoted 26 lines · Arnd Bergmann
Another driver turned up that is missing
linux/mod_devicetable.hafter the device IDs are split out fromlinux/platform_device.h:
drivers/extcon/extcon-max3355.c:127:34: error: array type has incomplete element type 'structof_device_id'
static const structof_device_idmax3355_match_table[] = {Fixes ac3167257b9f ("headers: separate linux/mod_devicetable.h from linux/platform_device.h")Signed-off-by Arnd Bergmann <[email protected]>---
Greg, please add that to the char-misc tree that already has other related patches.--- drivers/extcon/extcon-max3355.c | 1 + 1 file changed, 1 insertion(+)drivers/extcon/extcon-max3355.c +1
-0@@ -14,6 +14,7 @@#include <linux/gpio/consumer.h> #include <linux/interrupt.h> #include <linux/module.h> +#include <linux/mod_devicetable.h> #include <linux/platform_device.h>
Quoted 5 lines
drivers/extcon/extcon-max3355.c line 20
Quoted 2 lines
drivers/extcon/extcon-max3355.c +0
-0struct max3355_data {Applied it. Thanks.
If Greg pick up this patch, I'll drop it from extcon git.
Signature · 3 lines
Best Regards, Chanwoo Choi Samsung Electronics
Quoted 28 lines · Chanwoo Choi
Quoted 27 lines · Chanwoo Choi
Quoted 26 lines · Arnd Bergmann
Another driver turned up that is missing
linux/mod_devicetable.hafter the device IDs are split out fromlinux/platform_device.h:
drivers/extcon/extcon-max3355.c:127:34: error: array type has incomplete element type 'structof_device_id'
static const structof_device_idmax3355_match_table[] = {Fixes ac3167257b9f ("headers: separate linux/mod_devicetable.h from linux/platform_device.h")Signed-off-by Arnd Bergmann <[email protected]>---
Greg, please add that to the char-misc tree that already has other related patches.--- drivers/extcon/extcon-max3355.c | 1 + 1 file changed, 1 insertion(+)drivers/extcon/extcon-max3355.c +1
-0@@ -14,6 +14,7 @@#include <linux/gpio/consumer.h> #include <linux/interrupt.h> #include <linux/module.h> +#include <linux/mod_devicetable.h> #include <linux/platform_device.h>
Quoted 7 lines
Quoted 5 lines
drivers/extcon/extcon-max3355.c line 20
Quoted 2 lines
drivers/extcon/extcon-max3355.c +0
-0struct max3355_data {Applied it. Thanks.
If Greg pick up this patch, I'll drop it from extcon git.
Greg picked it up already :)
thanks,
greg k-h
Quoted 8 lines · Arnd Bergmann
Another driver turned up that is missing
linux/mod_devicetable.hafter the device IDs are split out fromlinux/platform_device.h:
drivers/extcon/extcon-max3355.c:127:34: error: array type has incomplete element type 'structof_device_id'
static const structof_device_idmax3355_match_table[] = {Fixes ac3167257b9f ("headers: separate linux/mod_devicetable.h from linux/platform_device.h")Signed-off-by Arnd Bergmann <[email protected]>
Sorry for the delay. I've been traveling.
And Thanks.
Quoted 20 lines
---
Greg, please add that to the char-misc tree that already has other related patches.--- drivers/extcon/extcon-max3355.c | 1 + 1 file changed, 1 insertion(+)drivers/extcon/extcon-max3355.c +1
-0@@ -14,6 +14,7 @@#include <linux/gpio/consumer.h> #include <linux/interrupt.h> #include <linux/module.h> +#include <linux/mod_devicetable.h> #include <linux/platform_device.h> struct max3355_data {
Signature · 1 line
~Randy