From: Laurent Pinchart Date: Tue, 22 Jul 2008 16:00:43 +0000 (+0200) Subject: cpm2: Rework baud rate generators configuration to support external clocks. X-Git-Tag: v2.6.27-rc2~117^2~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dddb8d311157d054da5441385f681b8cc0e5a94b;p=pandora-kernel.git cpm2: Rework baud rate generators configuration to support external clocks. The CPM2 BRG setup functions cpm_setbrg and cpm2_fastbrg don't support external clocks. This patch adds a new exported __cpm2_setbrg function that takes the clock rate and clock source as extra parameters, and moves cpm_setbrg and cpm2_fastbrg to include/asm-powerpc/cpm2.h where they become inline wrappers around __cpm2_setbrg. Signed-off-by: Laurent Pinchart Signed-off-by: Kumar Gala --- Reading git-diff-tree failed