Devicetree
 help / color / mirror / Atom feed
From: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
To: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org
Cc: Linus Torvalds
	<torvalds-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH 1/2] of/powerpc: fix fsl_msi device node pointer
Date: Thu,  3 Jun 2010 06:03:46 +0200	[thread overview]
Message-ID: <1275537827-28921-1-git-send-email-w.sang@pengutronix.de> (raw)
In-Reply-To: <AANLkTikNcAvyHf1yHPweNBVSCSPNmq-JaEOgYW2FYUGJ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Signed-off-by: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Cc: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
---
 arch/powerpc/sysdev/fsl_msi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c
index 0f5bee9..962c2d8 100644
--- a/arch/powerpc/sysdev/fsl_msi.c
+++ b/arch/powerpc/sysdev/fsl_msi.c
@@ -347,7 +347,7 @@ static int __devinit fsl_of_msi_probe(struct of_device *dev,
 		goto error_out;
 	}
 	offset = 0;
-	p = of_get_property(dev->node, "msi-available-ranges", &len);
+	p = of_get_property(dev->dev.of_node, "msi-available-ranges", &len);
 	if (p)
 		offset = *p / IRQS_PER_MSI_REG;
 
-- 
1.7.0

  parent reply	other threads:[~2010-06-03  4:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-03  3:06 [git pull] (updated) OF-related build breakage fixes Grant Likely
     [not found] ` <AANLkTikNcAvyHf1yHPweNBVSCSPNmq-JaEOgYW2FYUGJ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-06-03  4:01   ` Wolfram Sang
2010-06-03  4:03   ` Wolfram Sang [this message]
     [not found]     ` <1275537827-28921-1-git-send-email-w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2010-06-03  4:50       ` [PATCH 1/2] of/powerpc: fix fsl_msi device node pointer Grant Likely
2010-06-03  4:03   ` [PATCH 2/2] of/crypto: n2_core: fix build breakage Wolfram Sang
     [not found]     ` <1275537827-28921-2-git-send-email-w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2010-06-03  4:25       ` Grant Likely
2010-06-03  9:49     ` David Miller
2010-06-03 10:03       ` Herbert Xu
2010-07-01  9:06 ` [git pull] (updated) OF-related build breakage fixes Dan Williams
     [not found]   ` <AANLkTimvYT9MFPzX7xmCXPZ6ScFQZxO3zSKlcqczd_GO-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-01 13:16     ` Anatolij Gustschin
2010-07-02 21:53       ` Grant Likely

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=1275537827-28921-1-git-send-email-w.sang@pengutronix.de \
    --to=w.sang-bicnvbalz9megne8c9+irq@public.gmane.org \
    --cc=devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=torvalds-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.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