Hi Mark,
On Mon, 14 Jan 2008 15:51:50 -0700 "Mark A. Greer" <[EMAIL PROTECTED]> wrote:
>
> +static inline struct pci_controller *mv64x60_find_hose(u32 idx)
> +{
> + struct device_node *phb;
> + struct pci_controller *hose;
> + const u32 *prop;
> + int len;
> +
> + for_each_compatible_node(phb, "pci", "marvell,mv64360-pci") {
> + prop = of_get_property(phb, "cell-index", &len);
> + if (prop && (len == sizeof(prop)) && (*prop == idx)) {
> + hose = pci_find_hose_for_OF_device(phb);
> + of_node_put(phb);
> + return hose;
> + }
> + }
> +
> + return NULL;
> +}I would think that this is way to big to inline ... -- Cheers, Stephen Rothwell [EMAIL PROTECTED] http://www.canb.auug.org.au/~sfr/
pgpXdW8Ex2OX3.pgp
Description: PGP signature
_______________________________________________ Linuxppc-dev mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-dev
