linux/arch/mips/ralink
Harvey Hunt f13343e877 MIPS: ralink: mt7620: Add missing header
Fix a build error caused by not including <linux/bug.h>.

The following compilation errors are caused by the missing header:

arch/mips/ralink/mt7620.c: In function ‘mt7620_get_cpu_pll_rate’:
arch/mips/ralink/mt7620.c:431:2: error: implicit declaration of function ‘WARN_ON’ [-Werror=implicit-function-declaration]
  WARN_ON(div >= ARRAY_SIZE(mt7620_clk_divider));
  ^
arch/mips/ralink/mt7620.c: In function ‘mt7620_get_sys_rate’:
arch/mips/ralink/mt7620.c:500:2: error: implicit declaration of function ‘WARN’ [-Werror=implicit-function-declaration]
  if (WARN(!div, "invalid divider for OCP ratio %u", ocp_ratio))
  ^
arch/mips/ralink/mt7620.c: In function ‘mt7620_dram_init’:
arch/mips/ralink/mt7620.c:619:3: error: implicit declaration of function ‘BUG’ [-Werror=implicit-function-declaration]
   BUG();
   ^
cc1: some warnings being treated as errors
scripts/Makefile.build:302: recipe for target 'arch/mips/ralink/mt7620.o' failed

Signed-off-by: Harvey Hunt <harvey.hunt@imgtec.com>
Cc: John Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/16781/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-07-19 00:03:15 +02:00
..
Kconfig clocksource/drivers: Rename CLKSRC_OF to TIMER_OF 2017-06-14 12:01:03 +02:00
Makefile MIPS: Change my email address 2016-05-13 14:02:18 +02:00
Platform MIPS: ralink: add MT7621 support 2016-01-20 00:39:20 +01:00
bootrom.c MIPS: Change my email address 2016-05-13 14:02:18 +02:00
cevt-rt3352.c clocksource/drivers: Rename CLOCKSOURCE_OF_DECLARE to TIMER_OF_DECLARE 2017-06-14 11:58:45 +02:00
clk.c clocksource/drivers: Rename clocksource_probe to timer_probe 2017-06-14 11:59:16 +02:00
common.h MIPS: Change my email address 2016-05-13 14:02:18 +02:00
early_printk.c MIPS: ralink: Add tty detection 2015-11-11 08:38:03 +01:00
ill_acc.c MIPS: Change my email address 2016-05-13 14:02:18 +02:00
irq-gic.c MIPS: Change my email address 2016-05-13 14:02:18 +02:00
irq.c MIPS: ralink: Fix request_mem_region error handling 2017-01-25 02:51:10 +01:00
mt7620.c MIPS: ralink: mt7620: Add missing header 2017-07-19 00:03:15 +02:00
mt7621.c MIPS: Audit and remove any unnecessary uses of module.h 2017-02-14 09:00:25 +00:00
of.c MIPS: ralink: Fix request_mem_region error handling 2017-01-25 02:51:10 +01:00
prom.c MIPS: ralink: Cosmetic change to prom_init(). 2017-01-03 16:34:48 +01:00
reset.c MIPS: Change my email address 2016-05-13 14:02:18 +02:00
rt288x.c MIPS: Audit and remove any unnecessary uses of module.h 2017-02-14 09:00:25 +00:00
rt305x.c MIPS: Audit and remove any unnecessary uses of module.h 2017-02-14 09:00:25 +00:00
rt3883.c MIPS: ralink: Fix typos in rt3883 pinctrl 2017-03-08 11:29:48 +01:00
timer-gic.c clocksource/drivers: Rename clocksource_probe to timer_probe 2017-06-14 11:59:16 +02:00
timer.c MIPS: ralink: Remove unused timer functions 2017-01-25 02:51:10 +01:00