Re: [PATCH 1/5] pci/of: Match PCI devices to OF nodes dynamically

From: David Miller
Date: Thu Apr 07 2011 - 18:30:21 EST


From: David Miller <davem@xxxxxxxxxxxxx>
Date: Thu, 07 Apr 2011 15:27:07 -0700 (PDT)

> However, of_pci_find_child_device() lives in drivers/of/of_pci.c which is not
> built into the tree because you haven't provided the necessary changes to
> drivers/of/Makefile in this patch.

Oh I see, it exists already but it's only built into the tree for
microblaze, x86, and ppc.

There's a lot of stuff in there which is superfluous and will never
be used on sparc.

Everything in there except the new of_pci_find_child_device() function
will be never ever used on sparc and therefore dead code.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/