commit | 40d50cf7ca956183f3a573bc21082e1c7d04fa7b | [log] [tgz] |
---|---|---|
author | Roman Fietze <roman.fietze@telemotive.de> | Tue Dec 08 02:39:50 2009 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Dec 09 17:10:37 2009 +1100 |
tree | b1e5c8f7396919742be17f51a1c7bf19684fe571 | |
parent | 990d89c6636c1be300a4f2f914b95200b237d017 [diff] |
powerpc: Make "intspec" pointers in irq_host->xlate() const 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. Signed-off-by: Roman Fietze <roman.fietze@telemotive.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>