MIPS: Fix r4k clockevents registration
authorHuacai Chen <chenhc@lemote.com>
Thu, 21 Jul 2016 06:27:49 +0000 (14:27 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 24 Jul 2016 09:59:48 +0000 (11:59 +0200)
commit6dabf2b7a597a9613f0b8a2fcbe01e2a0a05c896
treeb3da66eda3d243fd5b939b29c944e08c98e4e0c8
parentbcfc8f0d4a0a892b04c41c928cf077502b459fcc
MIPS: Fix r4k clockevents registration

CPUFreq need min_delta_ticks/max_delta_ticks to be initialized, and
this can be done by clockevents_config_and_register().

Cc: stable@vger.kernel.org
Signed-off-by: Heiher <r@hev.cc>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J . Hill <Steven.Hill@imgtec.com>
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: stable@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13817/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cevt-r4k.c