Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6cd7eb3 authored by Igor Grinberg's avatar Igor Grinberg Committed by Eric Miao
Browse files

[ARM] pxa/cm-x300: fix ffuart registration



ffuart is available on cm-x300 only with pxa300.

Signed-off-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
Cc: stable <stable@kernel.org>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent 2728701d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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();