[MIPS] Malta: check the PCI clock frequency in a separate function
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>
Thu, 24 Jan 2008 16:52:43 +0000 (19:52 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Jan 2008 10:15:03 +0000 (10:15 +0000)
commitf3a4ce9587cd1e810f31c87ecb89033d5fd269ce
treeb5ad7575c85be022c4c9cbd7d398997d408fcb56
parent8216d348e374b369338f015ca34492de1e381214
[MIPS] Malta: check the PCI clock frequency in a separate function

This patch adds a separate short and sweet function to check the
PCI clock frequency. This is to improve readability of the Malta
setup code.

Along the way, a couple of coding style violations are fixed.

No functional changes introduced.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mips-boards/malta/malta_setup.c