Commit e1624435 authored by Laurent Vivier's avatar Laurent Vivier Committed by David Gibson
Browse files

grackle: add to bridge category



Grackle is the PCI host controller of oldworld powermac,
so add it to the bridge category.

Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent f8d4c07c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -146,8 +146,10 @@ static const TypeInfo grackle_pci_info = {
static void pci_grackle_class_init(ObjectClass *klass, void *data)
{
    SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);
    DeviceClass *dc = DEVICE_CLASS(klass);

    k->init = pci_grackle_init_device;
    set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
}

static const TypeInfo grackle_pci_host_info = {