MIPS: Oceton: Fix build error.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 12 Jun 2013 23:29:24 +0000 (01:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Jul 2013 23:30:07 +0000 (16:30 -0700)
commitcf6a37e7da73702e865a02f03664fc0e2c4a2b3f
treec26a3aa68dc2317c6d8337cc2e172097d9c38e7d
parent5110890cbfa0c783cb727d6a2fbf36ce8560f9a5
MIPS: Oceton: Fix build error.

commit 39205750efa6d335fac4f9bcd32b49c7e71c12b7 upstream.

If CONFIG_CAVIUM_OCTEON_LOCK_L2_TLB, CONFIG_CAVIUM_OCTEON_LOCK_L2_EXCEPTION,
CONFIG_CAVIUM_OCTEON_LOCK_L2_LOW_LEVEL_INTERRUPT and
CONFIG_CAVIUM_OCTEON_LOCK_L2_INTERRUPT are all undefined:

arch/mips/cavium-octeon/setup.c: In function ‘prom_init’:
arch/mips/cavium-octeon/setup.c:715:12: error: unused variable ‘ebase’ [-Werror=unused-variable]

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/cavium-octeon/setup.c