>> I don't think we need to export this function. > > Instead of putting the extern declaration in mach-imx6q.c which will > introduce a checkpatch warning, it's good to have it in the header. > OK, I see the point here - having map_io() to call back into clock-imx6q.c.