summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/amd8111/smbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/amd8111/smbus.c')
-rw-r--r--src/southbridge/amd/amd8111/smbus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/southbridge/amd/amd8111/smbus.c b/src/southbridge/amd/amd8111/smbus.c
index def1377beb..9589401bcd 100644
--- a/src/southbridge/amd/amd8111/smbus.c
+++ b/src/southbridge/amd/amd8111/smbus.c
@@ -11,7 +11,8 @@
#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, 0x44,
((device & 0xffff) << 16) | (vendor & 0xffff));