aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/via/vx900/pci_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/via/vx900/pci_util.c')
-rw-r--r--src/northbridge/via/vx900/pci_util.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/northbridge/via/vx900/pci_util.c b/src/northbridge/via/vx900/pci_util.c
index e6eb91ac95..57b08e7586 100644
--- a/src/northbridge/via/vx900/pci_util.c
+++ b/src/northbridge/via/vx900/pci_util.c
@@ -19,11 +19,7 @@
#include "vx900.h"
-#ifdef __SIMPLE_DEVICE__
void dump_pci_device(pci_devfn_t dev)
-#else
-void dump_pci_device(struct device *dev)
-#endif
{
int i;
for (i = 0; i <= 0xff; i++) {
@@ -34,7 +30,7 @@ void dump_pci_device(struct device *dev)
if ((i & 0x0f) == 0x08)
printk(BIOS_DEBUG, " |");
- val = pci_read_config8(dev, i);
+ val = pci_s_read_config8(dev, i);
printk(BIOS_DEBUG, " %.2x", val);
if ((i & 0x0f) == 0x0f)