m68knommu: force setting of CONFIG_CLOCK_FREQ for ColdFire
authorGreg Ungerer <gerg@uclinux.org>
Tue, 7 Jul 2015 04:21:21 +0000 (14:21 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Aug 2015 16:28:58 +0000 (09:28 -0700)
commit4c3c2d140a873c9330dd51119aa9e13225cd65ef
tree52d7e4cad12155a531534ab278ae5b7b548af24d
parent250cb4138bda236ea39bc430421c84e3b1586630
m68knommu: force setting of CONFIG_CLOCK_FREQ for ColdFire

commit d9ee489619744ee5ac246b8fb3dd65bb078d2f0a upstream.

It is possible to disable the clock selection at configuration time,
but for ColdFire targets we always expect a clock frequency to be
selected. This results in the following compile time error:

  CC      arch/m68k/kernel/asm-offsets.s
In file included from ./arch/m68k/include/asm/timex.h:14:0,
                 from include/linux/timex.h:65,
                 from include/linux/sched.h:19,
                 from arch/m68k/kernel/asm-offsets.c:14:
./arch/m68k/include/asm/coldfire.h:25:2: error: #error "Don't know what your ColdFire CPU clock frequency is??"

Remove CONFIG_CLOCK_SELECT completely and always enable CONFIG_CLOCK_FREQ
for ColdFire.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/m68k/Kconfig.cpu
arch/m68k/include/asm/coldfire.h