UPSTREAM: southbridge/amd/pi/hudson: transition away from device_t

Replace the use of the old device_t definition inside
southbridge/amd/pi/hudson.

BUG=None
BRANCH=None
TEST=None

Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/16475
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>

Change-Id: I8b22a8d9f0e90afaf0f218c5c0924a78883b7498
Reviewed-on: https://chromium-review.googlesource.com/384997
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Antonello Dettori 2016-09-03 10:45:33 +02:00 committed by chrome-bot
commit 6a340ad47f

View file

@ -60,7 +60,7 @@ void configure_hudson_uart(void)
void hudson_pci_port80(void)
{
u8 byte;
device_t dev;
pci_devfn_t dev;
/* P2P Bridge */
dev = PCI_DEV(0, 0x14, 4);
@ -105,7 +105,7 @@ void hudson_pci_port80(void)
void hudson_lpc_port80(void)
{
u8 byte;
device_t dev;
pci_devfn_t dev;
/* Enable LPC controller */
outb(0xEC, 0xCD6);
@ -123,7 +123,7 @@ void hudson_lpc_port80(void)
void hudson_lpc_decode(void)
{
device_t dev;
pci_devfn_t dev;
u32 tmp = 0;
/* Enable I/O decode to LPC bus */