summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801ax/i82801ax.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-15 16:54:19 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-18 12:18:03 +0000
commit152f1c918fdeb638d434b224ad1ca3e65aeeba78 (patch)
treeccab507a4c15d0a9edb99f401c478b147d2a1e0e /src/southbridge/intel/i82801ax/i82801ax.c
parent97e8b754bf9061ceac897c65497c4ef1f26d0a2c (diff)
sb/intel/i82801ax: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I5c18fdc24bd0432f6b7a1131af68c792d377c3ac Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26252 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/southbridge/intel/i82801ax/i82801ax.c')
-rw-r--r--src/southbridge/intel/i82801ax/i82801ax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82801ax/i82801ax.c b/src/southbridge/intel/i82801ax/i82801ax.c
index 7ef22e25d8..37c264ecd6 100644
--- a/src/southbridge/intel/i82801ax/i82801ax.c
+++ b/src/southbridge/intel/i82801ax/i82801ax.c
@@ -21,10 +21,10 @@
#include <device/pci.h>
#include "i82801ax.h"
-void i82801ax_enable(device_t dev)
+void i82801ax_enable(struct device *dev)
{
u16 reg16, index;
- device_t lpc_dev;
+ struct device *lpc_dev;
/* Search for the 82801AA/AB LPC device (D31:F0) on PCI bus 0. */
lpc_dev = dev_find_slot(0, PCI_DEVFN(0x1f, 0));