serial: asc: Conditionally use readl_relaxed (COMPILE_TEST)
authorDaniel Thompson <daniel.thompson@linaro.org>
Tue, 23 Sep 2014 07:31:30 +0000 (08:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 01:49:48 +0000 (21:49 -0400)
commitdaea65a7be76953bb80d13d0ac43e7441fd42cdf
treefa1e362585a76b4ea6fc1a11aa4bbcb11b5afeea
parent2dea53bf57783f243c892e99c10c6921e956aa7e
serial: asc: Conditionally use readl_relaxed (COMPILE_TEST)

Commit 08177ece596c ("serial: asc: Adopt readl_/writel_relaxed()) is
regressing the m68k allmodconfig build. This is due to the unconditional
use of readl_relaxed() which, although documented, does not currently
exist for m68k.

This is trivially fixable for st-asc because we can just update the
asc_in() accessor to make this conditional.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@gmail.com>
Cc: Maxime Coquelin <maxime.coquelin@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/st-asc.c
This page took 0.025414 seconds and 5 git commands to generate.