summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-intel-mid.c
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2014-01-23 08:50:38 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-02-03 09:11:45 +0100
commitcffcc92e966911e3ea9320fac943f545a353f2e0 (patch)
tree99029050f3f2e7dc0f3c45fc8ff5b2c2a5d65a8d /drivers/gpio/gpio-intel-mid.c
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
downloadlinux-cffcc92e966911e3ea9320fac943f545a353f2e0.tar.gz
linux-cffcc92e966911e3ea9320fac943f545a353f2e0.tar.bz2
linux-cffcc92e966911e3ea9320fac943f545a353f2e0.zip
gpio: xtensa: fix build when XCHAL_HAVE_CP is 0
In xtensa coprocessors may exist without coprocessor context, i.e. they cannot be disabled/enabled. In this case the RSR_CPENABLE/WSR_CPENABLE are undefined, thus breaking the build. Fix the build by adding dummy versions of enable_cp/disable_cp in this case. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-intel-mid.c')
0 files changed, 0 insertions, 0 deletions