]> git.baikalelectronics.ru Git - kernel.git/commit
of/spi: Fix build failure on spi_ppc4xx.c
authorGrant Likely <grant.likely@secretlab.ca>
Wed, 26 May 2010 05:24:02 +0000 (23:24 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 2 Jun 2010 19:38:33 +0000 (13:38 -0600)
commit34c7bd3f3657885faa3df35477ace02b6e7a6154
tree8e2ef00185bf4c2ceb409968dcf2b4d8f113ae58
parent4f375226d69e4703378ab38f6417f24e9af91f27
of/spi: Fix build failure on spi_ppc4xx.c

This patch fixes a build error caused by the OF device_node pointer
being moved into struct device.

Fixes bug introduced by commit 764078f2ce36319c166113e845b2e26cd4126ab6
(of: Always use 'struct device.of_node' to get device node pointer)

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
CC: Sean MacLennan <smaclennan@pikatech.com>
CC: spi-devel-general@lists.sourceforge.net
CC: devicetree-discuss@lists.ozlabs.org
drivers/spi/spi_ppc4xx.c