Adrian Schmutzler 43d3ef91f1 bcm63xx: prevent fall-through in kernel patches for 5.4
In kernel 5.4 -Werror=implicit-fallthrough is treated as error:

arch/mips/bcm63xx/cpu.c: In function 'detect_cpu_clock':
arch/mips/bcm63xx/cpu.c:158:2: error: this statement may fall through [-Werror=implicit-fallthrough=]
  {
  ^
arch/mips/bcm63xx/cpu.c:179:2: note: here
  case BCM6328_CPU_ID:
  ^~~~
cc1: all warnings being treated as errors

This can be fixed by adding "Fall through" as a comment where intended,
and has to be fixed by returning a proper default otherwise.

In case of the default clock frequency for BCM6318 we fixed this by
returning the default value taken from BCM6328 and BCM6362.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-04-12 12:43:55 +02:00
..
2020-04-09 00:12:46 +02:00
2020-04-09 00:12:46 +02:00
2020-04-09 00:12:46 +02:00
2020-03-28 13:03:02 +01:00
2020-03-12 09:28:23 +01:00
2020-04-09 00:12:46 +02:00
2020-03-28 13:03:02 +01:00
2020-04-03 12:17:45 +02:00
2020-04-09 00:12:46 +02:00
2020-03-28 13:03:02 +01:00
2020-03-28 22:58:36 +01:00
2020-03-17 00:51:48 +01:00