summaryrefslogtreecommitdiff
path: root/src/northbridge/via/cn700/vga.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/via/cn700/vga.c')
-rw-r--r--src/northbridge/via/cn700/vga.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/northbridge/via/cn700/vga.c b/src/northbridge/via/cn700/vga.c
index 3c8fb61ce6..e4f9d93b6f 100644
--- a/src/northbridge/via/cn700/vga.c
+++ b/src/northbridge/via/cn700/vga.c
@@ -101,15 +101,8 @@ static void vga_init(device_t dev)
memset(0xf0000, 0, 0x10000);
}
-static void vga_read_resources(device_t dev)
-{
- dev->rom_address = 0xfff80000;
- dev->on_mainboard = 1;
- pci_dev_read_resources(dev);
-}
-
static const struct device_operations vga_operations = {
- .read_resources = vga_read_resources,
+ .read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = vga_init,