From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.windriver.com", Issuer "Intel External Basic Issuing CA 3A" (not verified)) by ozlabs.org (Postfix) with ESMTPS id D21EFB7D43 for ; Thu, 3 Jun 2010 01:39:29 +1000 (EST) From: Kevin Hao To: Li Yang , Kumar Gala , Benjamin Herrenschmidt Subject: [PATCH] powerpc: fix a compile error in fsl_msi.c Date: Wed, 2 Jun 2010 20:07:12 +0800 Message-Id: <1275480432-22970-1-git-send-email-haokexin@gmail.com> Cc: linuxppc-dev list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , The commit 061ca4ad still use the old style to refer to device node, and cause the following compile error. arch/powerpc/sysdev/fsl_msi.c: In function 'fsl_of_msi_probe': arch/powerpc/sysdev/fsl_msi.c:350: error: 'struct of_device' has no member named 'node' Signed-off-by: Kevin Hao --- 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.6.3.1