diff options
Diffstat (limited to 'src/southbridge/ricoh/rl5c476')
-rw-r--r-- | src/southbridge/ricoh/rl5c476/rl5c476.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/ricoh/rl5c476/rl5c476.c b/src/southbridge/ricoh/rl5c476/rl5c476.c index 4d8b6e6322..c94722cb52 100644 --- a/src/southbridge/ricoh/rl5c476/rl5c476.c +++ b/src/southbridge/ricoh/rl5c476/rl5c476.c @@ -200,8 +200,8 @@ static void rl5c476_set_subsystem(struct device *dev, unsigned vendor, /* Enable subsystem id register writes */ pci_write_config16(dev, 0x82, miscreg | 0x40); - pci_write_config16(dev, 0x40, vendor); - pci_write_config16(dev, 0x42, device); + pci_dev_set_subsystem(dev, vendor, device); + /* restore original contents */ pci_write_config16(dev, 0x82, miscreg); } |