summaryrefslogtreecommitdiff
path: root/src/southbridge/broadcom
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/broadcom')
-rw-r--r--src/southbridge/broadcom/bcm5780/nic.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/southbridge/broadcom/bcm5780/nic.c b/src/southbridge/broadcom/bcm5780/nic.c
index df42dd36ec..df59fdcf1c 100644
--- a/src/southbridge/broadcom/bcm5780/nic.c
+++ b/src/southbridge/broadcom/bcm5780/nic.c
@@ -24,13 +24,6 @@
#include <device/pci_ids.h>
#include <device/pci_ops.h>
-static void nic_init(struct device *dev)
-{
-#if CONFIG_PCI_ROM_RUN
- pci_dev_init(dev);// it will init option rom
-#endif
-
-}
static void lpci_set_subsystem(device_t dev, unsigned vendor, unsigned device)
{
@@ -46,7 +39,7 @@ static struct device_operations nic_ops = {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
- .init = nic_init,
+ .init = pci_dev_init,
.scan_bus = 0,
.ops_pci = &lops_pci,
};