Skip to content

Commit

Permalink
[ARM] pxa/cm-x300: fix ffuart registration
Browse files Browse the repository at this point in the history
ffuart is available on cm-x300 only with pxa300.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Cc: stable <stable@kernel.org>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
  • Loading branch information
Igor Grinberg authored and Eric Miao committed Aug 5, 2010
1 parent 2728701 commit a6cd7eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/mach-pxa/cm-x300.c
Original file line number Diff line number Diff line change
Expand Up @@ -746,9 +746,10 @@ static void __init cm_x300_init(void)
{
cm_x300_init_mfp();

pxa_set_ffuart_info(NULL);
pxa_set_btuart_info(NULL);
pxa_set_stuart_info(NULL);
if (cpu_is_pxa300())
pxa_set_ffuart_info(NULL);

cm_x300_init_da9030();
cm_x300_init_dm9000();
Expand Down

0 comments on commit a6cd7eb

Please sign in to comment.