[PATCH 1/2] ARM: imx: Remove unneeded .map_io initialization
Russell King - ARM Linux
linux at arm.linux.org.uk
Fri Nov 14 08:02:05 PST 2014
On Fri, Nov 14, 2014 at 04:53:57PM +0100, Geert Uytterhoeven wrote:
> If machine_desc.map_io is not set, devicemaps_init() in the common ARM
> code will call debug_ll_io_init().
How about a WARN_ON(mdesc->map_io == debug_ll_io_init) ? This can only
really be done when CONFIG_DEBUG_LL is defined because otherwise it's an
inline function, but it may help to stop these from appearing in the
first place.
--
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up
according to speedtest.net.
More information about the linux-arm-kernel
mailing list