[RFC 2/8] gpio: mxc: Support for initialization as submodule

Markus Pargmann mpa at pengutronix.de
Fri Aug 2 04:16:13 EDT 2013


On Tue, Jul 30, 2013 at 05:37:43PM +0800, Shawn Guo wrote:
> On Tue, Jul 30, 2013 at 10:39:29AM +0200, Markus Pargmann wrote:
> > > > +	if (pdata) {
> > > > +		port->base = pdata->base;
> > > > +		iores = NULL;
> > > 
> > > Why is this needed?
> > 
> > The memory regions used for iomux control overlap the regions used by
> > the gpio driver. So we need to share the memory with the pinctrl driver.
> 
> I meant for iores = NULL;

Not necessary, I removed it.

Thanks,

Markus

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-arm-kernel mailing list