linux/arch/mips/bcm63xx
Markos Chandras 17d97bad1a MIPS: bcm63xx: cpu: Replace BUG() with panic()
BUG() can be a noop if CONFIG_BUG is not selected,
leading to the following build problem on a randconfig:

arch/mips/bcm63xx/cpu.c: In function 'detect_cpu_clock':
arch/mips/bcm63xx/cpu.c:254:1: error: control reaches end of
non-void function [-Werror=return-type]

We fix this problem by replacing BUG() with panic() since it's
best to handle the case of an unknown board instead of silently
returning a random clock frequency.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>
Acked-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5932/
2014-01-24 22:39:52 +01:00
..
boards MIPS: BCM63XX: add HSSPI platform device and register it 2014-01-22 20:18:50 +01:00
clk.c MIPS: BCM63XX: setup the HSSPI clock rate 2014-01-22 20:18:49 +01:00
cpu.c MIPS: bcm63xx: cpu: Replace BUG() with panic() 2014-01-24 22:39:52 +01:00
cs.c
dev-dsp.c
dev-enet.c bcm63xx_enet: add support Broadcom BCM6345 Ethernet 2013-06-13 17:22:08 -07:00
dev-flash.c MIPS: BCM63XX: add support for BCM3368 Cable Modem 2013-07-01 15:10:53 +02:00
dev-hsspi.c MIPS: BCM63XX: add HSSPI platform device and register it 2014-01-22 20:18:50 +01:00
dev-pcmcia.c
dev-rng.c
dev-spi.c MIPS: BCM63XX: add support for BCM3368 Cable Modem 2013-07-01 15:10:53 +02:00
dev-uart.c MIPS: BCM63XX: add support for BCM3368 Cable Modem 2013-07-01 15:10:53 +02:00
dev-usb-usbd.c
dev-wdt.c
early_printk.c MIPS: BCM63XX: use linux/serial_bcm63xx.h 2014-01-23 13:02:36 +01:00
gpio.c
irq.c MIPS: BCM63XX: add support for BCM3368 Cable Modem 2013-07-01 15:10:53 +02:00
Kconfig MIPS: BCM63XX: let the individual SoCs select the appropriate CPUs 2014-01-22 20:18:53 +01:00
Makefile MIPS: BCM63XX: add HSSPI platform device and register it 2014-01-22 20:18:50 +01:00
nvram.c MIPS: BCM63XX: export PSI size from nvram 2013-08-05 18:58:55 +01:00
Platform
prom.c MIPS: BCM63XX: always register bmips smp ops 2014-01-22 20:18:53 +01:00
reset.c MIPS: BCM63XX: add support for BCM3368 Cable Modem 2013-07-01 15:10:53 +02:00
setup.c MIPS: BCM63XX: add support for BCM3368 Cable Modem 2013-07-01 15:10:53 +02:00
timer.c