northbridge/amd/agesa: DEVICE_NOOP some stub functions
Use 'DEVICE_NOOP' over stub functions to reduce loc and
improve formalism.
Change-Id: I9c8d608539647cce22fb1dfbe284a6043d3d23d9
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/7534
Tested-by: build bot (Jenkins)
Reviewed-by: Bruce Griffith <Bruce.Griffith@se-eng.com>
diff --git a/src/northbridge/amd/agesa/family16kb/northbridge.c b/src/northbridge/amd/agesa/family16kb/northbridge.c
index d47a00d..74a72f4 100644
--- a/src/northbridge/amd/agesa/family16kb/northbridge.c
+++ b/src/northbridge/amd/agesa/family16kb/northbridge.c
@@ -444,9 +444,6 @@
}
}
-static void northbridge_init(struct device *dev)
-{
-}
#if 0 /* TODO: Check if needed. */
static unsigned scan_chains(device_t dev, unsigned max)
{
@@ -475,7 +472,7 @@
.read_resources = read_resources,
.set_resources = set_resources,
.enable_resources = pci_dev_enable_resources,
- .init = northbridge_init,
+ .init = DEVICE_NOOP,
//.scan_bus = scan_chains, /* TODO: */
.enable = 0,
.ops_pci = 0,