aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/via/vt8237r/pirq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/via/vt8237r/pirq.c')
-rw-r--r--src/southbridge/via/vt8237r/pirq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/via/vt8237r/pirq.c b/src/southbridge/via/vt8237r/pirq.c
index fd55b1fc9d..e7eacdc882 100644
--- a/src/southbridge/via/vt8237r/pirq.c
+++ b/src/southbridge/via/vt8237r/pirq.c
@@ -24,7 +24,7 @@
#if IS_ENABLED(CONFIG_PIRQ_ROUTE) && IS_ENABLED(CONFIG_GENERATE_PIRQ_TABLE)
void pirq_assign_irqs(const unsigned char route[4])
{
- device_t pdev;
+ struct device *pdev;
pdev = dev_find_device(PCI_VENDOR_ID_VIA,
PCI_DEVICE_ID_VIA_VT8237R_LPC, 0);