[PATCH] powerpc: Add del_node function to allow early boot code to prune inapplicable devices.

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Oct 22 11:23:29 EST 2008


On Tue, 2008-10-21 at 17:33 -0600, Grant Likely wrote:
> On Tue, Oct 21, 2008 at 02:32:29PM -0700, Mike Ditto wrote:
> > Reposting in proper format...
> > 
> > Some platforms have variants that can share most of a flat device tree but need
> > a few devices selectively pruned at boot time.  This adds del_node() to ops.h
> > to allow access to the existing fdt_del_node().
> > 
> > Signed-off-by: Mike Ditto <mditto at consentry.com>
> 
> Looks good to me.
> 
> Acked-by: Grant Likely <grant.likely at secretlab.ca>

little nit: The patch doesn't quite have the right form.

Patches to the kernel are expected to apply with -p1, so
for example, the patch line contains:

arch/powerpc/boot/ops.h

It should be

something/arch/powerpc/boot/ops.h

I've fixed it up manually so no need to re-submit, but you'll know next
time :-)

Cheers,
Ben.





More information about the Linuxppc-dev mailing list