Re: [PATCH 3/3] arch/tile: tilegx PCI root complex support

From: Geert Uytterhoeven
Date: Tue Jun 19 2012 - 15:51:05 EST


Hi Chris,

On Sat, Apr 7, 2012 at 11:10 PM, Chris Metcalf <cmetcalf@xxxxxxxxxx> wrote:
> This change implements PCIe root complex support for tilegx using
> the kernel support layer for accessing the TRIO hardware shim.

> --- /dev/null
> +++ b/arch/tile/kernel/pci_gx.c

> + Â Â Â Â Â Â Â bus = pci_scan_bus(0, controller->ops, controller);
> + Â Â Â Â Â Â Â controller->root_bus = bus;
> + Â Â Â Â Â Â Â controller->last_busno = bus->subordinate;

As of commit 3527ed81ca01bbaf09df952e68528377a9cd092f
("PCI: remove secondary/subordinate in struct pci_bus") in linux-next, the
"subordinate" field no longer exists:

http://kisskb.ellerman.id.au/kisskb/buildresult/6546355/
arch/tile/kernel/pci_gx.c:852:31: error: 'struct pci_bus' has no
member named 'subordinate'
make[3]: *** [arch/tile/kernel/pci_gx.o] Error 1

Gr{oetje,eeting}s,

            Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
             Â Â -- Linus Torvalds
--
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/