diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2013-06-17 09:00:38 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-06-21 12:07:03 -0400 |
commit | 6793f55cbc84d8520e79c67583f60058b4364daa (patch) | |
tree | b9722f3b606147936ec9765d8cbe06b5f6d07e1e /arch/mips | |
parent | ae5b0e0973ae1326809084aa3243a97f180cc903 (diff) |
MIPS: sibyte: Amend dependencies for SIBYTE_BUS_WATCHER
SIBYTE_BUS_WATCHER is only visible if CONFIG_SIBYTE_BCM112X
or CONFIG_SIBYTE_SB1250 is selected according to the
arch/mips/sibyte/Makefile.
This fixes the following build problem:
arch/mips/mm/cerr-sb1.c:254: undefined reference to `check_bus_watcher'
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: sibyte-users@bitmover.com
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5482/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/sibyte/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/sibyte/Kconfig b/arch/mips/sibyte/Kconfig index 01cc1a749c73..5fbd3605d24f 100644 --- a/arch/mips/sibyte/Kconfig +++ b/arch/mips/sibyte/Kconfig | |||
@@ -147,7 +147,8 @@ config SIBYTE_CFE_CONSOLE | |||
147 | 147 | ||
148 | config SIBYTE_BUS_WATCHER | 148 | config SIBYTE_BUS_WATCHER |
149 | bool "Support for Bus Watcher statistics" | 149 | bool "Support for Bus Watcher statistics" |
150 | depends on SIBYTE_SB1xxx_SOC | 150 | depends on SIBYTE_SB1xxx_SOC && \ |
151 | (SIBYTE_BCM112X || SIBYTE_SB1250) | ||
151 | help | 152 | help |
152 | Handle and keep statistics on the bus error interrupts (COR_ECC, | 153 | Handle and keep statistics on the bus error interrupts (COR_ECC, |
153 | BAD_ECC, IO_BUS). | 154 | BAD_ECC, IO_BUS). |