spi: pxa2xx: Make LPSS SPI general register optional
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Thu, 4 Jun 2015 13:55:12 +0000 (16:55 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 5 Jun 2015 10:40:45 +0000 (11:40 +0100)
commit82ba2c2ab3e9b9c62327f9441594668b20a1dba2
tree1956c45484dbdac9271496d954390d6fad6de5f5
parentdccf7369652f3934456345aab6a92fa905177886
spi: pxa2xx: Make LPSS SPI general register optional

General register located in LPSS SPI private register space is not found in
upcoming Intel LPSS platforms. Access it conditionally depending is it
defined in configuration.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c