From patchwork Wed Jun 2 19:47:30 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grant Likely X-Patchwork-Id: 103895 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o52Kk29l009898 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Jun 2010 20:46:38 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1OJup7-00046y-MD; Wed, 02 Jun 2010 20:46:01 +0000 Received: from sfi-mx-4.v28.ch3.sourceforge.com ([172.29.28.124] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1OJup6-00046s-El for spi-devel-general@lists.sourceforge.net; Wed, 02 Jun 2010 20:46:00 +0000 X-ACL-Warn: Received: from mail-pv0-f175.google.com ([74.125.83.175]) by sfi-mx-4.v28.ch3.sourceforge.com with esmtp (Exim 4.69) id 1OJup5-00007s-8O for spi-devel-general@lists.sourceforge.net; Wed, 02 Jun 2010 20:46:00 +0000 Received: by pvc30 with SMTP id 30so2648704pvc.34 for ; Wed, 02 Jun 2010 13:45:53 -0700 (PDT) Received: by 10.140.251.3 with SMTP id y3mr6904159rvh.227.1275508052755; Wed, 02 Jun 2010 12:47:32 -0700 (PDT) Received: from angua (S01060002b3d79728.cg.shawcable.net [70.72.87.49]) by mx.google.com with ESMTPS id t1sm453561rvl.9.2010.06.02.12.47.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Jun 2010 12:47:31 -0700 (PDT) Received: from [127.0.1.1] (unknown [IPv6:::1]) by angua (Postfix) with ESMTP id 771693C0110; Wed, 2 Jun 2010 13:47:30 -0600 (MDT) From: Grant Likely Date: Wed, 02 Jun 2010 13:47:30 -0600 Message-ID: <20100602194721.6780.61396.stgit@angua> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Spam-Score: 1.6 (+) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 1.6 MISSING_HEADERS Missing To: header X-Headers-End: 1OJup5-00007s-8O Cc: spi-devel-general@lists.sourceforge.net, devicetree-discuss@lists.ozlabs.org, Sean MacLennan Subject: [spi-devel-general] [PATCH] of/spi: Fix build failure on spi_ppc4xx.c X-BeenThere: spi-devel-general@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux SPI core/device drivers discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces@lists.sourceforge.net X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 02 Jun 2010 20:46:39 +0000 (UTC) diff --git a/drivers/spi/spi_ppc4xx.c b/drivers/spi/spi_ppc4xx.c index 19c0b3b..d53466a 100644 --- a/drivers/spi/spi_ppc4xx.c +++ b/drivers/spi/spi_ppc4xx.c @@ -397,7 +397,7 @@ static int __init spi_ppc4xx_of_probe(struct of_device *op, struct spi_master *master; struct spi_bitbang *bbp; struct resource resource; - struct device_node *np = op->node; + struct device_node *np = op->dev.of_node; struct device *dev = &op->dev; struct device_node *opbnp; int ret;