summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb700/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/sb700/usb.c')
-rw-r--r--src/southbridge/amd/sb700/usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/amd/sb700/usb.c b/src/southbridge/amd/sb700/usb.c
index 627600823e..12b9dd673a 100644
--- a/src/southbridge/amd/sb700/usb.c
+++ b/src/southbridge/amd/sb700/usb.c
@@ -34,7 +34,7 @@ static void usb_init(struct device *dev)
u32 dword;
/* 6.1 Enable OHCI0-4 and EHCI Controllers */
- device_t sm_dev;
+ struct device *sm_dev;
sm_dev = dev_find_slot(0, PCI_DEVFN(0x14, 0));
byte = pci_read_config8(sm_dev, 0x68);
byte |= 0xFF;
@@ -79,7 +79,7 @@ static void usb_init2(struct device *dev)
{
uint32_t dword;
void *usb2_bar0;
- device_t sm_dev;
+ struct device *sm_dev;
uint8_t rev;
uint8_t ehci_async_data_cache;
uint8_t nvram;