From 8be82e1017970e0b86e44b2838ee77d1f100b0c5 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Thu, 27 Nov 2014 14:36:13 +1100 Subject: southbridge/amd/agesa/hudson/pci.c: Use DEVICE_NOOP macro Change-Id: I39edaaed67f45e7c56ec02c2aac2a4c5e1b63bc7 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/7586 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc --- src/southbridge/amd/agesa/hudson/pci.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/southbridge') diff --git a/src/southbridge/amd/agesa/hudson/pci.c b/src/southbridge/amd/agesa/hudson/pci.c index e8836e4c7d..49e2ba6c47 100644 --- a/src/southbridge/amd/agesa/hudson/pci.c +++ b/src/southbridge/amd/agesa/hudson/pci.c @@ -27,9 +27,6 @@ #include #include -static void pci_init(struct device *dev) -{ -} /* * Update the PCI devices with a valid IRQ number @@ -61,7 +58,7 @@ static struct device_operations pci_ops = { .read_resources = pci_bus_read_resources, .set_resources = pci_dev_set_resources, .enable_resources = pci_bus_enable_resources, - .init = pci_init, + .init = DEVICE_NOOP, .scan_bus = pci_scan_bridge, .reset_bus = pci_bus_reset, .ops_pci = &lops_pci, -- cgit v1.2.3