* [PATCH] of/pcmcia: m8xx_pcmcia.c: Fix build failures
@ 2010-06-02 23:38 Anatolij Gustschin
[not found] ` <1275521937-11130-1-git-send-email-agust-ynQEQJNshbs@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Anatolij Gustschin @ 2010-06-02 23:38 UTC (permalink / raw)
To: linux-pcmcia-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
Fixes build errors caused by the:
- OF device_node pointer being moved into struct device
- typo in match_table field in the struct device_driver
(which shoud be of_match_table)
Signed-off-by: Anatolij Gustschin <agust-ynQEQJNshbs@public.gmane.org>
---
drivers/pcmcia/m8xx_pcmcia.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pcmcia/m8xx_pcmcia.c b/drivers/pcmcia/m8xx_pcmcia.c
index 1a648b9..25e5e30 100644
--- a/drivers/pcmcia/m8xx_pcmcia.c
+++ b/drivers/pcmcia/m8xx_pcmcia.c
@@ -1157,7 +1157,7 @@ static int __init m8xx_probe(struct of_device *ofdev,
unsigned int i, m, hwirq;
pcmconf8xx_t *pcmcia;
int status;
- struct device_node *np = ofdev->node;
+ struct device_node *np = ofdev->dev.of_node;
pcmcia_info("%s\n", version);
@@ -1301,7 +1301,7 @@ static struct of_platform_driver m8xx_pcmcia_driver = {
.driver = {
.name = driver_name,
.owner = THIS_MODULE,
- .match_table = m8xx_pcmcia_match,
+ .of_match_table = m8xx_pcmcia_match,
},
.probe = m8xx_probe,
.remove = m8xx_remove,
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] of/pcmcia: m8xx_pcmcia.c: Fix build failures
[not found] ` <1275521937-11130-1-git-send-email-agust-ynQEQJNshbs@public.gmane.org>
@ 2010-06-03 2:11 ` Grant Likely
0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2010-06-03 2:11 UTC (permalink / raw)
To: Anatolij Gustschin
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
linux-pcmcia-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On Thu, Jun 03, 2010 at 01:38:57AM +0200, Anatolij Gustschin wrote:
> Fixes build errors caused by the:
> - OF device_node pointer being moved into struct device
> - typo in match_table field in the struct device_driver
> (which shoud be of_match_table)
>
> Signed-off-by: Anatolij Gustschin <agust-ynQEQJNshbs@public.gmane.org>
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-03 2:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-02 23:38 [PATCH] of/pcmcia: m8xx_pcmcia.c: Fix build failures Anatolij Gustschin
[not found] ` <1275521937-11130-1-git-send-email-agust-ynQEQJNshbs@public.gmane.org>
2010-06-03 2:11 ` Grant Likely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox