summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 21:45:03 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 14:22:51 +0000
commita48390690ad14d0137b41ebb381e5eecd6ea0eac (patch)
tree75ea0284276d6ba0f8cbeb550730bbe88ade09c4 /src
parent66e602a7fab46b4879ad78edbb722a282b0ab53c (diff)
mb/winnet: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Ie6a8364bdd272515e1567061ae0b117392c268aa Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26092 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/winnet/g170/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/winnet/g170/mainboard.c b/src/mainboard/winnet/g170/mainboard.c
index 18226a6249..3f7428aa31 100644
--- a/src/mainboard/winnet/g170/mainboard.c
+++ b/src/mainboard/winnet/g170/mainboard.c
@@ -24,7 +24,7 @@ static void mainboard_final(void *chip_info)
{
/* A B C D */
static const unsigned char irq_map[4] = { 11, 5, 10, 0 };
- device_t lpc_dev;
+ struct device *lpc_dev;
printk(BIOS_INFO, "Setting up G170 IRQ routing...\n");