diff --git a/southbridge/amd/amd8111/ac97.c b/southbridge/amd/amd8111/ac97.c index 10ad681ccb..40a56e4289 100644 --- a/southbridge/amd/amd8111/ac97.c +++ b/southbridge/amd/amd8111/ac97.c @@ -24,7 +24,7 @@ #include #include "amd8111.h" -static void lpci_set_subsystem(device_t dev, unsigned vendor, unsigned device) +static void lpci_set_subsystem(struct device * dev, unsigned vendor, unsigned device) { pci_write_config32(dev, 0x2c, ((device & 0xffff) << 16) | (vendor & 0xffff)); diff --git a/southbridge/amd/amd8111/amd8111.h b/southbridge/amd/amd8111/amd8111.h index 6f5250e21c..12c5da27b7 100644 --- a/southbridge/amd/amd8111/amd8111.h +++ b/southbridge/amd/amd8111/amd8111.h @@ -1,6 +1,6 @@ #ifndef AMD8111_H #define AMD8111_H -void amd8111_enable(device_t dev); +void amd8111_enable(struct device * dev); #endif /* AMD8111_H */