[PATCH 2/4] arm: plat-orion: make bridge_virt_base non-const to support DT use case

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Aug 3 09:48:56 EDT 2012


Le Fri, 3 Aug 2012 13:41:32 +0000,
Arnd Bergmann <arnd at arndb.de> a écrit :

> > +       u32 bridge_virt_base;
> >  
> >         /* If NULL, the default cpu_win_can_remap will be used, using
> >            the value in remappable_wins */
> 
> It would be nice to also change the type of this to void __iomem*, since you are
> already touching the bridge_virt_base.

Yeah, I was also thinking about this cleanup. Will rework my patch
series to include a patch fixing this before doing the other changes.

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the linux-arm-kernel mailing list