diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/northbridge/amd/agesa/family15/northbridge.c | 6 | ||||
-rw-r--r-- | src/northbridge/amd/agesa/family15tn/northbridge.c | 7 | ||||
-rw-r--r-- | src/northbridge/amd/agesa/family16kb/northbridge.c | 5 |
3 files changed, 3 insertions, 15 deletions
diff --git a/src/northbridge/amd/agesa/family15/northbridge.c b/src/northbridge/amd/agesa/family15/northbridge.c index aab061eaf8..c46db7cc92 100644 --- a/src/northbridge/amd/agesa/family15/northbridge.c +++ b/src/northbridge/amd/agesa/family15/northbridge.c @@ -472,10 +472,6 @@ static void nb_set_resources(device_t dev) } } -static void northbridge_init(struct device *dev) -{ -} - static unsigned scan_chains(device_t dev, unsigned max) { unsigned nodeid; @@ -503,7 +499,7 @@ 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, .scan_bus = scan_chains, .enable = 0, .ops_pci = 0, 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, }; diff --git a/src/northbridge/amd/agesa/family16kb/northbridge.c b/src/northbridge/amd/agesa/family16kb/northbridge.c index d47a00d23d..74a72f4d36 100644 --- a/src/northbridge/amd/agesa/family16kb/northbridge.c +++ b/src/northbridge/amd/agesa/family16kb/northbridge.c @@ -444,9 +444,6 @@ static void set_resources(device_t dev) } } -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 @@ static struct device_operations northbridge_operations = { .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, |