aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/amd/agesa/family15tn/northbridge.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-11-21 02:22:33 +1100
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-11-21 02:35:59 +0100
commitd994ef193276cd118be9120ab93c6850830a450a (patch)
tree021de440d7e046ad049b83fcebb19f8d8c74157e /src/northbridge/amd/agesa/family15tn/northbridge.c
parent023ed1f999e9ddc1d317407a73d99699636d2b45 (diff)
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>
Diffstat (limited to 'src/northbridge/amd/agesa/family15tn/northbridge.c')
-rw-r--r--src/northbridge/amd/agesa/family15tn/northbridge.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/northbridge/amd/agesa/family15tn/northbridge.c b/src/northbridge/amd/agesa/family15tn/northbridge.c
index 2632321093..474767e029 100644
--- a/src/northbridge/amd/agesa/family15tn/northbridge.c
+++ b/src/northbridge/amd/agesa/family15tn/northbridge.c
@@ -463,16 +463,11 @@ static void nb_set_resources(device_t dev)
}
}
-static void northbridge_init(struct device *dev)
-{
-}
-
-
static struct device_operations northbridge_operations = {
.read_resources = nb_read_resources,
.set_resources = nb_set_resources,
.enable_resources = pci_dev_enable_resources,
- .init = northbridge_init,
+ .init = DEVICE_NOOP,
.enable = 0,
.ops_pci = 0,
};