summaryrefslogtreecommitdiff
path: root/arch/mips/sibyte/common/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-06-19 20:18:55 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-06-21 18:07:02 +0200
commitae5b0e0973ae1326809084aa3243a97f180cc903 (patch)
treecefa36f5822b34d40357700f971796c584d2888b /arch/mips/sibyte/common/Makefile
parent55e9741a323fb77a11c368de51f8a4fa757311df (diff)
MIPS: Sibyte: Fix bus watcher build for BCM1x55 and BCM1x80.
CC arch/mips/sibyte/bcm1480/bus_watcher.o CHK kernel/config_data.h arch/mips/sibyte/bcm1480/bus_watcher.c: In function ‘check_bus_watcher’: arch/mips/sibyte/bcm1480/bus_watcher.c:86:82: error: ‘A_SCD_BUS_ERR_STATUS_DEBUG’ undeclared (first use in this function) arch/mips/sibyte/bcm1480/bus_watcher.c:86:82: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [arch/mips/sibyte/bcm1480/bus_watcher.o] Error 1 make[2]: *** [arch/mips/sibyte/bcm1480] Error 2 make[1]: *** [arch/mips/sibyte] Error 2 make: *** [arch/mips] Error 2 The register moved around though it's otherwise the same but because of the changed address it now also has a different name. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/5514/ Reported-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch/mips/sibyte/common/Makefile')
-rw-r--r--arch/mips/sibyte/common/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/sibyte/common/Makefile b/arch/mips/sibyte/common/Makefile
index 36aa700cc40c..b3d6bf23a662 100644
--- a/arch/mips/sibyte/common/Makefile
+++ b/arch/mips/sibyte/common/Makefile
@@ -1,3 +1,4 @@
obj-y := cfe.o
+obj-$(CONFIG_SIBYTE_BUS_WATCHER) += bus_watcher.o
obj-$(CONFIG_SIBYTE_CFE_CONSOLE) += cfe_console.o
obj-$(CONFIG_SIBYTE_TBPROF) += sb_tbprof.o