[coreboot-gerrit] New patch to review for coreboot: fad2bff southbridge/amd/agesa/hudson/pci.c: Use DEVICE_NOOP macro
Edward O'Callaghan (eocallaghan@alterapraxis.com)
gerrit at coreboot.org
Thu Nov 27 04:36:52 CET 2014
Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7586
-gerrit
commit fad2bffb79cd0de911f0c8188b3ca4f24e77707a
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date: Thu Nov 27 14:36:13 2014 +1100
southbridge/amd/agesa/hudson/pci.c: Use DEVICE_NOOP macro
Change-Id: I39edaaed67f45e7c56ec02c2aac2a4c5e1b63bc7
Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
src/southbridge/amd/agesa/hudson/pci.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/southbridge/amd/agesa/hudson/pci.c b/src/southbridge/amd/agesa/hudson/pci.c
index e8836e4..49e2ba6 100644
--- a/src/southbridge/amd/agesa/hudson/pci.c
+++ b/src/southbridge/amd/agesa/hudson/pci.c
@@ -27,9 +27,6 @@
#include <southbridge/amd/amd_pci_util.h>
#include <bootstate.h>
-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,
More information about the coreboot-gerrit
mailing list