diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-19 14:09:33 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-05-21 20:00:20 +0000 |
commit | 7f55810cf0e4d415cc71d7c58094040e49e14a37 (patch) | |
tree | 60e7c8e97899310123223160b9bfc2818b715cc3 /src/southbridge/amd/sb600/usb.c | |
parent | 7a4d41aa2d8dc94aff22803b23159321687d7153 (diff) |
sb/amd/sb600: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I587b32e33af72a37be8299b9db2ce26ba825a689
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26407
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/amd/sb600/usb.c')
-rw-r--r-- | src/southbridge/amd/sb600/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/sb600/usb.c b/src/southbridge/amd/sb600/usb.c index 3be2312006..85df6c5989 100644 --- a/src/southbridge/amd/sb600/usb.c +++ b/src/southbridge/amd/sb600/usb.c @@ -33,7 +33,7 @@ static void usb_init(struct device *dev) u32 dword; /* 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 |= 0x3F; |