Thread (46 messages) 46 messages, 5 authors, 2010-01-12

Re: [PATCH] PowerPC: const intspec pointers

From: Grant Likely <hidden>
Date: 2009-12-11 06:14:07

On Tue, Dec 8, 2009 at 5:39 AM, Roman Fietze [off-list ref] 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.

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help