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>
Thu, 22 Sep 2011 15:21:43 +0000 (16:21 +0100)
commit6cfa6279edbffa921b7d8c9519bfd83a24ba508e
treeb950b73d734a2b4926ff4aaebbe6d6ddb0981d82
parent1c3be369c5fcd36c5d3841ca5d97d80ad34e76dd
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