From: Chanwoo Choi <cw00.choi@samsung.com>
To: Arnd Bergmann <arnd@arndb.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Randy Dunlap <rdunlap@infradead.org>,
MyungJoo Ham <myungjoo.ham@samsung.com>,
Lee Jones <lee.jones@linaro.org>,
Sebastian Reichel <sre@kernel.org>,
Kishon Vijay Abraham I <kishon@ti.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] extcon: max3355: include mod_devicetable.h
Date: Thu, 12 Jul 2018 10:31:45 +0900 [thread overview]
Message-ID: <ebd7d32f-48f6-1944-00a3-c2743f83b000@samsung.com> (raw)
In-Reply-To: <ceb8cd99-91e3-aad6-bedc-bf5626c7683a@samsung.com>
On 2018년 07월 12일 10:30, Chanwoo Choi wrote:
> On 2018년 07월 12일 00:50, Arnd Bergmann wrote:
>> 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[] = {
>>
>> Fixes: ac3167257b9f ("headers: separate linux/mod_devicetable.h from linux/platform_device.h")
>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>> ---
>> 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(+)
>>
>> diff --git a/drivers/extcon/extcon-max3355.c b/drivers/extcon/extcon-max3355.c
>> index 0aa410836f4e..1335a476bfec 100644
>> --- a/drivers/extcon/extcon-max3355.c
>> +++ b/drivers/extcon/extcon-max3355.c
>> @@ -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.
>
If Greg pick up this patch, I'll drop it from extcon git.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
next prev parent reply other threads:[~2018-07-12 1:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20180711155116epcas3p1d50af5ed86f7f55f607657d195492582@epcas3p1.samsung.com>
2018-07-11 15:50 ` Arnd Bergmann
2018-07-12 1:30 ` Chanwoo Choi
2018-07-12 1:31 ` Chanwoo Choi [this message]
2018-07-12 6:11 ` Greg Kroah-Hartman
2018-07-12 2:26 ` Randy Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ebd7d32f-48f6-1944-00a3-c2743f83b000@samsung.com \
--to=cw00.choi@samsung.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=kishon@ti.com \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=myungjoo.ham@samsung.com \
--cc=rdunlap@infradead.org \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®