[PATCH] PowerPC: const intspec pointers

Grant Likely grant.likely at secretlab.ca
Fri Dec 11 17:13:45 EST 2009

On Tue, Dec 8, 2009 at 5:39 AM, Roman Fietze <roman.fietze at telemotive.de> wrote:
> Hello,
> Writing a driver using SCLPC on the MPC5200B I detected, that the
> intspec arrays to map irqs to Linux virq cannot be const, because the
> mapping and xlate functions only take non const pointers. All those
> functions do not modify the intspec, so a const pointer could be used.

BTW, if you're interested, there is a driver for the SCLPC FIFO about
to be merged into 2.6.33.  It's in Ben's tree waiting to be pulled
into mainline.


Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

More information about the Linuxppc-dev mailing list