diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-13 13:30:59 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-18 12:18:07 +0000 |
commit | 892e9f6030f2ade15067ec7b51c819130072e91b (patch) | |
tree | 1bab647a40aa1c5a46b1ff61c779d6c2125f22a9 /src/southbridge/intel/i82801bx/i82801bx.c | |
parent | 152f1c918fdeb638d434b224ad1ca3e65aeeba78 (diff) |
sb/intel/i82801bx: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I661b2435d9f0306b246a3e89aac24eb30c959085
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26253
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/southbridge/intel/i82801bx/i82801bx.c')
-rw-r--r-- | src/southbridge/intel/i82801bx/i82801bx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82801bx/i82801bx.c b/src/southbridge/intel/i82801bx/i82801bx.c index 99d630fa77..163b6f4ea4 100644 --- a/src/southbridge/intel/i82801bx/i82801bx.c +++ b/src/southbridge/intel/i82801bx/i82801bx.c @@ -21,10 +21,10 @@ #include <device/pci.h> #include "i82801bx.h" -void i82801bx_enable(device_t dev) +void i82801bx_enable(struct device *dev) { u16 reg16, index; - device_t lpc_dev; + struct device *lpc_dev; /* Search for the 82801BA/BAM LPC device (D31:F0) on PCI bus 0. */ lpc_dev = dev_find_slot(0, PCI_DEVFN(0x1f, 0)); |