spi: rspi: fix build error when CONFIG_OF is not set
authorShimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>
Mon, 3 Feb 2014 01:43:46 +0000 (10:43 +0900)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:21:25 +0000 (09:21 +0900)
commitc4d5f006c1b60bc9da3139fe5d7e8792c4ff27a7
tree4c6362c266c1404497c768af169c421b58755899
parentf533cea1a2ce64703607a3b7741aabcb24b8bb8f
spi: rspi: fix build error when CONFIG_OF is not set

This patch fixes an issue that the following build error happens when
the CONFIG_OF is not set:

drivers/spi/spi-rspi.c: In function 'rspi_probe':
drivers/spi/spi-rspi.c:1203:26: error: 'rspi_of_match' undeclared (first use in this function)

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 64b67defe4eb4de2d2df8acd5584a9e28fa727d3)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/spi/spi-rspi.c