* [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
@ 2015-08-24 14:15 Brijesh Singh
2015-08-24 21:36 ` Corey Minyard
2015-08-25 0:48 ` Corey Minyard
0 siblings, 2 replies; 9+ messages in thread
From: Brijesh Singh @ 2015-08-24 14:15 UTC (permalink / raw)
To: minyard, openipmi-developer, linux-kernel; +Cc: Brijesh Singh
Fix autoloading ipmi modules when using device tree.
Signed-off-by: Brijesh Singh <brijeshkumar.singh@amd.com>
---
drivers/char/ipmi/ipmi_si_intf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index 8a45e92..cddc7b0 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -2785,6 +2785,7 @@ static struct platform_driver ipmi_driver = {
.probe = ipmi_probe,
.remove = ipmi_remove,
};
+MODULE_DEVICE_TABLE(of, ipmi_match);
#ifdef CONFIG_PARISC
static int ipmi_parisc_probe(struct parisc_device *dev)
--
1.9.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
2015-08-24 14:15 [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE Brijesh Singh
@ 2015-08-24 21:36 ` Corey Minyard
2015-08-25 0:48 ` Corey Minyard
1 sibling, 0 replies; 9+ messages in thread
From: Corey Minyard @ 2015-08-24 21:36 UTC (permalink / raw)
To: Brijesh Singh, openipmi-developer, linux-kernel
Thanks, queued for the next release.
-corey
On 08/24/2015 09:15 AM, Brijesh Singh wrote:
> Fix autoloading ipmi modules when using device tree.
>
> Signed-off-by: Brijesh Singh <brijeshkumar.singh@amd.com>
> ---
> drivers/char/ipmi/ipmi_si_intf.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
> index 8a45e92..cddc7b0 100644
> --- a/drivers/char/ipmi/ipmi_si_intf.c
> +++ b/drivers/char/ipmi/ipmi_si_intf.c
> @@ -2785,6 +2785,7 @@ static struct platform_driver ipmi_driver = {
> .probe = ipmi_probe,
> .remove = ipmi_remove,
> };
> +MODULE_DEVICE_TABLE(of, ipmi_match);
>
> #ifdef CONFIG_PARISC
> static int ipmi_parisc_probe(struct parisc_device *dev)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
2015-08-24 14:15 [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE Brijesh Singh
2015-08-24 21:36 ` Corey Minyard
@ 2015-08-25 0:48 ` Corey Minyard
2015-08-25 2:04 ` yalin wang
2015-08-25 14:50 ` Singh, Brijeshkumar
1 sibling, 2 replies; 9+ messages in thread
From: Corey Minyard @ 2015-08-25 0:48 UTC (permalink / raw)
To: Brijesh Singh, openipmi-developer, linux-kernel
Well, I should have compile tested first. On x86_64:
CC [M] drivers/char/ipmi/ipmi_si_intf.o
In file included from ../drivers/char/ipmi/ipmi_si_intf.c:42:0:
../drivers/char/ipmi/ipmi_si_intf.c:2804:25: error: ‘ipmi_match’
undeclared here (not in a function)
MODULE_DEVICE_TABLE(of, ipmi_match);
^
../include/linux/module.h:223:21: note: in definition of macro
‘MODULE_DEVICE_TABLE’
extern const typeof(name) __mod_##type##__##name##_device_table \
^
../include/linux/module.h:223:27: error:
‘__mod_of__ipmi_match_device_table’ aliased to undefined symbol ‘ipmi_match’
extern const typeof(name) __mod_##type##__##name##_device_table \
^
../drivers/char/ipmi/ipmi_si_intf.c:2804:1: note: in expansion of macro
‘MODULE_DEVICE_TABLE’
MODULE_DEVICE_TABLE(of, ipmi_match);
This has to compile on all arches. I'm not sure what is wrong, but I've
removed the patch.
-corey
On 08/24/2015 09:15 AM, Brijesh Singh wrote:
> Fix autoloading ipmi modules when using device tree.
>
> Signed-off-by: Brijesh Singh <brijeshkumar.singh@amd.com>
> ---
> drivers/char/ipmi/ipmi_si_intf.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
> index 8a45e92..cddc7b0 100644
> --- a/drivers/char/ipmi/ipmi_si_intf.c
> +++ b/drivers/char/ipmi/ipmi_si_intf.c
> @@ -2785,6 +2785,7 @@ static struct platform_driver ipmi_driver = {
> .probe = ipmi_probe,
> .remove = ipmi_remove,
> };
> +MODULE_DEVICE_TABLE(of, ipmi_match);
>
> #ifdef CONFIG_PARISC
> static int ipmi_parisc_probe(struct parisc_device *dev)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
2015-08-25 0:48 ` Corey Minyard
@ 2015-08-25 2:04 ` yalin wang
2015-08-25 11:59 ` Corey Minyard
2015-08-25 14:50 ` Singh, Brijeshkumar
1 sibling, 1 reply; 9+ messages in thread
From: yalin wang @ 2015-08-25 2:04 UTC (permalink / raw)
To: minyard; +Cc: Brijesh Singh, openipmi-developer, linux-kernel
> On Aug 25, 2015, at 08:48, Corey Minyard <minyard@acm.org> wrote:
>
> Well, I should have compile tested first. On x86_64:
>
>
> CC [M] drivers/char/ipmi/ipmi_si_intf.o
> In file included from ../drivers/char/ipmi/ipmi_si_intf.c:42:0:
> ../drivers/char/ipmi/ipmi_si_intf.c:2804:25: error: ‘ipmi_match’
> undeclared here (not in a function)
> MODULE_DEVICE_TABLE(of, ipmi_match);
> ^
> ../include/linux/module.h:223:21: note: in definition of macro
> ‘MODULE_DEVICE_TABLE’
> extern const typeof(name) __mod_##type##__##name##_device_table \
> ^
> ../include/linux/module.h:223:27: error:
> ‘__mod_of__ipmi_match_device_table’ aliased to undefined symbol ‘ipmi_match’
> extern const typeof(name) __mod_##type##__##name##_device_table \
> ^
> ../drivers/char/ipmi/ipmi_si_intf.c:2804:1: note: in expansion of macro
> ‘MODULE_DEVICE_TABLE’
> MODULE_DEVICE_TABLE(of, ipmi_match);
>
>
> This has to compile on all arches. I'm not sure what is wrong, but I've
> removed the patch.
>
> -corey
it seems should be :
MODULE_DEVICE_TABLE(of, of_ipmi_match);
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
2015-08-25 2:04 ` yalin wang
@ 2015-08-25 11:59 ` Corey Minyard
2015-08-25 12:02 ` Singh, Brijeshkumar
0 siblings, 1 reply; 9+ messages in thread
From: Corey Minyard @ 2015-08-25 11:59 UTC (permalink / raw)
To: yalin wang; +Cc: Brijesh Singh, openipmi-developer, linux-kernel
On 08/24/2015 09:04 PM, yalin wang wrote:
>> On Aug 25, 2015, at 08:48, Corey Minyard <minyard@acm.org> wrote:
>>
>> Well, I should have compile tested first. On x86_64:
>>
>>
>> CC [M] drivers/char/ipmi/ipmi_si_intf.o
>> In file included from ../drivers/char/ipmi/ipmi_si_intf.c:42:0:
>> ../drivers/char/ipmi/ipmi_si_intf.c:2804:25: error: ‘ipmi_match’
>> undeclared here (not in a function)
>> MODULE_DEVICE_TABLE(of, ipmi_match);
>> ^
>> ../include/linux/module.h:223:21: note: in definition of macro
>> ‘MODULE_DEVICE_TABLE’
>> extern const typeof(name) __mod_##type##__##name##_device_table \
>> ^
>> ../include/linux/module.h:223:27: error:
>> ‘__mod_of__ipmi_match_device_table’ aliased to undefined symbol ‘ipmi_match’
>> extern const typeof(name) __mod_##type##__##name##_device_table \
>> ^
>> ../drivers/char/ipmi/ipmi_si_intf.c:2804:1: note: in expansion of macro
>> ‘MODULE_DEVICE_TABLE’
>> MODULE_DEVICE_TABLE(of, ipmi_match);
>>
>>
>> This has to compile on all arches. I'm not sure what is wrong, but I've
>> removed the patch.
>>
>> -corey
> it seems should be :
>
> MODULE_DEVICE_TABLE(of, of_ipmi_match);
I actually already tried that, and it fails to compile on x86_64, too,
with a different error.
-corey
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
2015-08-25 11:59 ` Corey Minyard
@ 2015-08-25 12:02 ` Singh, Brijeshkumar
0 siblings, 0 replies; 9+ messages in thread
From: Singh, Brijeshkumar @ 2015-08-25 12:02 UTC (permalink / raw)
To: minyard@acm.org, yalin wang
Cc: openipmi-developer@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Hi,
I have compile tested on both x86 and arm64 on 4.1, but today will try with 4.2 and send updated patch. Thanks
-Brijesh
________________________________________
From: Corey Minyard [tcminyard@gmail.com] on behalf of Corey Minyard [minyard@acm.org]
Sent: Tuesday, August 25, 2015 6:59 AM
To: yalin wang
Cc: Singh, Brijeshkumar; openipmi-developer@lists.sourceforge.net; linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
On 08/24/2015 09:04 PM, yalin wang wrote:
>> On Aug 25, 2015, at 08:48, Corey Minyard <minyard@acm.org> wrote:
>>
>> Well, I should have compile tested first. On x86_64:
>>
>>
>> CC [M] drivers/char/ipmi/ipmi_si_intf.o
>> In file included from ../drivers/char/ipmi/ipmi_si_intf.c:42:0:
>> ../drivers/char/ipmi/ipmi_si_intf.c:2804:25: error: ‘ipmi_match’
>> undeclared here (not in a function)
>> MODULE_DEVICE_TABLE(of, ipmi_match);
>> ^
>> ../include/linux/module.h:223:21: note: in definition of macro
>> ‘MODULE_DEVICE_TABLE’
>> extern const typeof(name) __mod_##type##__##name##_device_table \
>> ^
>> ../include/linux/module.h:223:27: error:
>> ‘__mod_of__ipmi_match_device_table’ aliased to undefined symbol ‘ipmi_match’
>> extern const typeof(name) __mod_##type##__##name##_device_table \
>> ^
>> ../drivers/char/ipmi/ipmi_si_intf.c:2804:1: note: in expansion of macro
>> ‘MODULE_DEVICE_TABLE’
>> MODULE_DEVICE_TABLE(of, ipmi_match);
>>
>>
>> This has to compile on all arches. I'm not sure what is wrong, but I've
>> removed the patch.
>>
>> -corey
> it seems should be :
>
> MODULE_DEVICE_TABLE(of, of_ipmi_match);
I actually already tried that, and it fails to compile on x86_64, too,
with a different error.
-corey
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
2015-08-25 0:48 ` Corey Minyard
2015-08-25 2:04 ` yalin wang
@ 2015-08-25 14:50 ` Singh, Brijeshkumar
2015-08-26 14:57 ` Corey Minyard
1 sibling, 1 reply; 9+ messages in thread
From: Singh, Brijeshkumar @ 2015-08-25 14:50 UTC (permalink / raw)
To: minyard@acm.org, openipmi-developer@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Hi Corey,
Just tried the patch on 4.2-rc8 and it seem to build just fine
* make x86_64_defconfig + enable IPMI module as "m" - Build OK
* make allyesconfig - Build OK
* make allmodconfig - Build OK
Please let me know if I am missing something otherwise send me your config and will try to root cause the issue.
Optionally, if you are okay then I can guard MODULE_DEVICE_TABLE(of, ipmi_match) changes with #if CONFIG_OF to ensure that code does not get build for non device-tree platform.
-Brijesh
> -----Original Message-----
> From: Corey Minyard [mailto:tcminyard@gmail.com] On Behalf Of Corey
> Minyard
> Sent: Monday, August 24, 2015 7:49 PM
> To: Singh, Brijeshkumar; openipmi-developer@lists.sourceforge.net; linux-
> kernel@vger.kernel.org
> Subject: Re: [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
>
> Well, I should have compile tested first. On x86_64:
>
>
> CC [M] drivers/char/ipmi/ipmi_si_intf.o In file included from
> ../drivers/char/ipmi/ipmi_si_intf.c:42:0:
> ../drivers/char/ipmi/ipmi_si_intf.c:2804:25: error: 'ipmi_match'
> undeclared here (not in a function)
> MODULE_DEVICE_TABLE(of, ipmi_match);
> ^
> ../include/linux/module.h:223:21: note: in definition of macro
> 'MODULE_DEVICE_TABLE'
> extern const typeof(name) __mod_##type##__##name##_device_table \
> ^
> ../include/linux/module.h:223:27: error:
> '__mod_of__ipmi_match_device_table' aliased to undefined symbol
> 'ipmi_match'
> extern const typeof(name) __mod_##type##__##name##_device_table \
> ^
> ../drivers/char/ipmi/ipmi_si_intf.c:2804:1: note: in expansion of macro
> 'MODULE_DEVICE_TABLE'
> MODULE_DEVICE_TABLE(of, ipmi_match);
>
>
> This has to compile on all arches. I'm not sure what is wrong, but I've removed
> the patch.
>
> -corey
>
> On 08/24/2015 09:15 AM, Brijesh Singh wrote:
> > Fix autoloading ipmi modules when using device tree.
> >
> > Signed-off-by: Brijesh Singh <brijeshkumar.singh@amd.com>
> > ---
> > drivers/char/ipmi/ipmi_si_intf.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/char/ipmi/ipmi_si_intf.c
> > b/drivers/char/ipmi/ipmi_si_intf.c
> > index 8a45e92..cddc7b0 100644
> > --- a/drivers/char/ipmi/ipmi_si_intf.c
> > +++ b/drivers/char/ipmi/ipmi_si_intf.c
> > @@ -2785,6 +2785,7 @@ static struct platform_driver ipmi_driver = {
> > .probe = ipmi_probe,
> > .remove = ipmi_remove,
> > };
> > +MODULE_DEVICE_TABLE(of, ipmi_match);
> >
> > #ifdef CONFIG_PARISC
> > static int ipmi_parisc_probe(struct parisc_device *dev)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
2015-08-25 14:50 ` Singh, Brijeshkumar
@ 2015-08-26 14:57 ` Corey Minyard
2015-08-26 16:03 ` Singh, Brijeshkumar
0 siblings, 1 reply; 9+ messages in thread
From: Corey Minyard @ 2015-08-26 14:57 UTC (permalink / raw)
To: Singh, Brijeshkumar, openipmi-developer@lists.sourceforge.net,
linux-kernel@vger.kernel.org
On 08/25/2015 09:50 AM, Singh, Brijeshkumar wrote:
> Hi Corey,
>
> Just tried the patch on 4.2-rc8 and it seem to build just fine
>
> * make x86_64_defconfig + enable IPMI module as "m" - Build OK
> * make allyesconfig - Build OK
> * make allmodconfig - Build OK
>
> Please let me know if I am missing something otherwise send me your config and will try to root cause the issue.
> Optionally, if you are okay then I can guard MODULE_DEVICE_TABLE(of, ipmi_match) changes with #if CONFIG_OF to ensure that code does not get build for non device-tree platform.
I have a patch queued that reworks the probing a bit, and it affected
this code. I had to move the change into the CONFIG_OF ifdef and change
the name. Sorry this took so long, I just didn't have time to look at it.
I have queued the change, and it will be in linux-next soon, if you want
to check it.
-corey
> -Brijesh
>
>> -----Original Message-----
>> From: Corey Minyard [mailto:tcminyard@gmail.com] On Behalf Of Corey
>> Minyard
>> Sent: Monday, August 24, 2015 7:49 PM
>> To: Singh, Brijeshkumar; openipmi-developer@lists.sourceforge.net; linux-
>> kernel@vger.kernel.org
>> Subject: Re: [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
>>
>> Well, I should have compile tested first. On x86_64:
>>
>>
>> CC [M] drivers/char/ipmi/ipmi_si_intf.o In file included from
>> ../drivers/char/ipmi/ipmi_si_intf.c:42:0:
>> ../drivers/char/ipmi/ipmi_si_intf.c:2804:25: error: 'ipmi_match'
>> undeclared here (not in a function)
>> MODULE_DEVICE_TABLE(of, ipmi_match);
>> ^
>> ../include/linux/module.h:223:21: note: in definition of macro
>> 'MODULE_DEVICE_TABLE'
>> extern const typeof(name) __mod_##type##__##name##_device_table \
>> ^
>> ../include/linux/module.h:223:27: error:
>> '__mod_of__ipmi_match_device_table' aliased to undefined symbol
>> 'ipmi_match'
>> extern const typeof(name) __mod_##type##__##name##_device_table \
>> ^
>> ../drivers/char/ipmi/ipmi_si_intf.c:2804:1: note: in expansion of macro
>> 'MODULE_DEVICE_TABLE'
>> MODULE_DEVICE_TABLE(of, ipmi_match);
>>
>>
>> This has to compile on all arches. I'm not sure what is wrong, but I've removed
>> the patch.
>>
>> -corey
>>
>> On 08/24/2015 09:15 AM, Brijesh Singh wrote:
>>> Fix autoloading ipmi modules when using device tree.
>>>
>>> Signed-off-by: Brijesh Singh <brijeshkumar.singh@amd.com>
>>> ---
>>> drivers/char/ipmi/ipmi_si_intf.c | 1 +
>>> 1 file changed, 1 insertion(+)
>>>
>>> diff --git a/drivers/char/ipmi/ipmi_si_intf.c
>>> b/drivers/char/ipmi/ipmi_si_intf.c
>>> index 8a45e92..cddc7b0 100644
>>> --- a/drivers/char/ipmi/ipmi_si_intf.c
>>> +++ b/drivers/char/ipmi/ipmi_si_intf.c
>>> @@ -2785,6 +2785,7 @@ static struct platform_driver ipmi_driver = {
>>> .probe = ipmi_probe,
>>> .remove = ipmi_remove,
>>> };
>>> +MODULE_DEVICE_TABLE(of, ipmi_match);
>>>
>>> #ifdef CONFIG_PARISC
>>> static int ipmi_parisc_probe(struct parisc_device *dev)
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
2015-08-26 14:57 ` Corey Minyard
@ 2015-08-26 16:03 ` Singh, Brijeshkumar
0 siblings, 0 replies; 9+ messages in thread
From: Singh, Brijeshkumar @ 2015-08-26 16:03 UTC (permalink / raw)
To: minyard@acm.org, openipmi-developer@lists.sourceforge.net,
linux-kernel@vger.kernel.org
> -----Original Message-----
> From: Corey Minyard [mailto:tcminyard@gmail.com] On Behalf Of Corey
> Minyard
> Sent: Wednesday, August 26, 2015 9:58 AM
> To: Singh, Brijeshkumar; openipmi-developer@lists.sourceforge.net; linux-
> kernel@vger.kernel.org
> Subject: Re: [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
>
> On 08/25/2015 09:50 AM, Singh, Brijeshkumar wrote:
> > Hi Corey,
> >
> > Just tried the patch on 4.2-rc8 and it seem to build just fine
> >
> > * make x86_64_defconfig + enable IPMI module as "m" - Build OK
> > * make allyesconfig - Build OK
> > * make allmodconfig - Build OK
> >
> > Please let me know if I am missing something otherwise send me your config
> and will try to root cause the issue.
> > Optionally, if you are okay then I can guard MODULE_DEVICE_TABLE(of,
> ipmi_match) changes with #if CONFIG_OF to ensure that code does not get build
> for non device-tree platform.
>
> I have a patch queued that reworks the probing a bit, and it affected this code. I
> had to move the change into the CONFIG_OF ifdef and change the name. Sorry
> this took so long, I just didn't have time to look at it.
>
> I have queued the change, and it will be in linux-next soon, if you want to check
> it.
Thanks Corey, I will checkout later.
>
> -corey
>
> > -Brijesh
> >
> >> -----Original Message-----
> >> From: Corey Minyard [mailto:tcminyard@gmail.com] On Behalf Of Corey
> >> Minyard
> >> Sent: Monday, August 24, 2015 7:49 PM
> >> To: Singh, Brijeshkumar; openipmi-developer@lists.sourceforge.net;
> >> linux- kernel@vger.kernel.org
> >> Subject: Re: [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE
> >>
> >> Well, I should have compile tested first. On x86_64:
> >>
> >>
> >> CC [M] drivers/char/ipmi/ipmi_si_intf.o In file included from
> >> ../drivers/char/ipmi/ipmi_si_intf.c:42:0:
> >> ../drivers/char/ipmi/ipmi_si_intf.c:2804:25: error: 'ipmi_match'
> >> undeclared here (not in a function)
> >> MODULE_DEVICE_TABLE(of, ipmi_match);
> >> ^
> >> ../include/linux/module.h:223:21: note: in definition of macro
> >> 'MODULE_DEVICE_TABLE'
> >> extern const typeof(name) __mod_##type##__##name##_device_table \
> >> ^
> >> ../include/linux/module.h:223:27: error:
> >> '__mod_of__ipmi_match_device_table' aliased to undefined symbol
> >> 'ipmi_match'
> >> extern const typeof(name) __mod_##type##__##name##_device_table \
> >> ^
> >> ../drivers/char/ipmi/ipmi_si_intf.c:2804:1: note: in expansion of
> >> macro 'MODULE_DEVICE_TABLE'
> >> MODULE_DEVICE_TABLE(of, ipmi_match);
> >>
> >>
> >> This has to compile on all arches. I'm not sure what is wrong, but
> >> I've removed the patch.
> >>
> >> -corey
> >>
> >> On 08/24/2015 09:15 AM, Brijesh Singh wrote:
> >>> Fix autoloading ipmi modules when using device tree.
> >>>
> >>> Signed-off-by: Brijesh Singh <brijeshkumar.singh@amd.com>
> >>> ---
> >>> drivers/char/ipmi/ipmi_si_intf.c | 1 +
> >>> 1 file changed, 1 insertion(+)
> >>>
> >>> diff --git a/drivers/char/ipmi/ipmi_si_intf.c
> >>> b/drivers/char/ipmi/ipmi_si_intf.c
> >>> index 8a45e92..cddc7b0 100644
> >>> --- a/drivers/char/ipmi/ipmi_si_intf.c
> >>> +++ b/drivers/char/ipmi/ipmi_si_intf.c
> >>> @@ -2785,6 +2785,7 @@ static struct platform_driver ipmi_driver = {
> >>> .probe = ipmi_probe,
> >>> .remove = ipmi_remove,
> >>> };
> >>> +MODULE_DEVICE_TABLE(of, ipmi_match);
> >>>
> >>> #ifdef CONFIG_PARISC
> >>> static int ipmi_parisc_probe(struct parisc_device *dev)
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-08-26 16:03 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-24 14:15 [PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE Brijesh Singh
2015-08-24 21:36 ` Corey Minyard
2015-08-25 0:48 ` Corey Minyard
2015-08-25 2:04 ` yalin wang
2015-08-25 11:59 ` Corey Minyard
2015-08-25 12:02 ` Singh, Brijeshkumar
2015-08-25 14:50 ` Singh, Brijeshkumar
2015-08-26 14:57 ` Corey Minyard
2015-08-26 16:03 ` Singh, Brijeshkumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox