On Tue, 8 Jan 2008 09:01:29 -0700 John Rigby <[EMAIL PROTECTED]> wrote: > > +++ b/arch/powerpc/platforms/512x/mpc5121_ads.c > +#include <asm/of_platform.h>
I see I don't need to comment on this :-) > +static void __init mpc5121_ads_init_IRQ(void) > +{ > + struct device_node *np; > + > + np = of_find_node_by_type(NULL, "ipic"); > + if (!np) > + return; > + > + ipic_init(np, 0); > + > + /* > + * Initialize the default interrupt mapping priorities, > + * in case the boot rom changed something on us. > + */ > + ipic_set_default_priority(); > +} This needs an of_node_put(np) somewhere. -- Cheers, Stephen Rothwell [EMAIL PROTECTED] http://www.canb.auug.org.au/~sfr/
pgptvghvAhukg.pgp
Description: PGP signature
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev