mfd: vexpress: Make the driver optional for arm and arm64
authorPawel Moll <pawel.moll@arm.com>
Tue, 11 Jun 2013 10:56:02 +0000 (11:56 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 19 Jun 2013 09:32:00 +0000 (11:32 +0200)
commit8eb12b98163deaafae82e7dde044709919e4fdfa
tree26e34391966660210c61fada3a66d640a6dce7ab
parentcb3cabd6788dd8c2e87dc7262a45a24e063681a3
mfd: vexpress: Make the driver optional for arm and arm64

The driver can be used on either arm or arm64 platforms, but
the latter doesn't have any platform-specific configuration
options, so it must be possible to manually enable the driver.

As the gpiolib is optional for arm64 arch, the gpio/led code
must be compiled conditionally.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig
drivers/mfd/vexpress-sysreg.c