From: Paul Mackerras Date: Thu, 31 Aug 2006 05:45:48 +0000 (+1000) Subject: Merge branch 'merge' X-Git-Tag: v2.6.19-rc1~1300^2~43 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa43f77939c97bf9d3580c6a5e71a5a40290e451;p=linux-2.6 Merge branch 'merge' --- aa43f77939c97bf9d3580c6a5e71a5a40290e451 diff --cc arch/powerpc/kernel/prom_parse.c index 603203276e,a10825a5df..603dff3ad6 --- a/arch/powerpc/kernel/prom_parse.c +++ b/arch/powerpc/kernel/prom_parse.c @@@ -642,11 -639,11 +642,11 @@@ void of_irq_map_init(unsigned int flags } - int of_irq_map_raw(struct device_node *parent, const u32 *intspec, -int of_irq_map_raw(struct device_node *parent, u32 *intspec, u32 ointsize, - u32 *addr, struct of_irq *out_irq) ++int of_irq_map_raw(struct device_node *parent, const u32 *intspec, u32 ointsize, + const u32 *addr, struct of_irq *out_irq) { struct device_node *ipar, *tnode, *old = NULL, *newpar = NULL; - u32 *tmp, *imap, *imask; + const u32 *tmp, *imap, *imask; u32 intsize = 1, addrsize, newintsize = 0, newaddrsize = 0; int imaplen, match, i; diff --cc include/asm-powerpc/prom.h index 7a457bd462,d0fa1b9aed..c15e66a2e6 --- a/include/asm-powerpc/prom.h +++ b/include/asm-powerpc/prom.h @@@ -288,11 -289,12 +289,12 @@@ extern void of_irq_map_init(unsigned in * */ -extern int of_irq_map_raw(struct device_node *parent, u32 *intspec, - u32 ointsize, u32 *addr, +extern int of_irq_map_raw(struct device_node *parent, const u32 *intspec, - const u32 *addr, struct of_irq *out_irq); ++ u32 ointsize, const u32 *addr, + struct of_irq *out_irq); -/*** +/** * of_irq_map_one - Resolve an interrupt for a device * @device: the device whose interrupt is to be resolved * @index: index of the interrupt to resolve