From: Baruch Siach Date: Thu, 23 Jan 2014 06:50:38 +0000 (+0200) Subject: gpio: xtensa: fix build when XCHAL_HAVE_CP is 0 X-Git-Tag: v3.14-rc3~29^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cffcc92e966911e3ea9320fac943f545a353f2e0;p=pandora-kernel.git 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 Signed-off-by: Baruch Siach Signed-off-by: Linus Walleij --- Reading git-diff-tree failed