diff options
Diffstat (limited to 'src/southbridge/amd/amd8111/ide.c')
-rw-r--r-- | src/southbridge/amd/amd8111/ide.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/southbridge/amd/amd8111/ide.c b/src/southbridge/amd/amd8111/ide.c index fec424d36b..365f683359 100644 --- a/src/southbridge/amd/amd8111/ide.c +++ b/src/southbridge/amd/amd8111/ide.c @@ -40,7 +40,8 @@ static void ide_init(struct device *dev) pci_write_config16(dev, 0x42, word); } -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, 0x70, ((device & 0xffff) << 16) | (vendor & 0xffff)); |