]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: 7079/1: spi: Fix builderror in spi-pl022.c
authorPeter Hüwe <PeterHuewe@gmx.de>
Mon, 5 Sep 2011 20:07:23 +0000 (21:07 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 6 Sep 2011 23:46:12 +0000 (00:46 +0100)
commitb21c57c7e57de13c3735f7e85c51190d6fd45dc2
treed11eb607f59eb6f8b664e2261975edef7dc66873
parent612f2eb6e2852a5da2b9415a4dcf057d2395f0ef
ARM: 7079/1: spi: Fix builderror in spi-pl022.c

This patch fixes a build error, introduced by commit (67fc8b9f, "PM: add
runtime PM support to core Primecell driver") which unfortunately was a little
bit incomplete and did contain a typo (11 instead of 22).
I'm not sure how this patch could have been tested back then, if it
doesn't even compile ;)

The build failure was:
drivers/spi/spi-pl022.c:2292: error: 'adev' undeclared (first use in
this function)
drivers/spi/spi-pl022.c:2344: error: 'pl022_suspend' undeclared here
(not in a function)

The build failure appears e.g. for the u8500 and realview defconfig.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/spi/spi-pl022.c