diff options
Diffstat (limited to 'src/southbridge/via/k8t890/ctrl.c')
-rw-r--r-- | src/southbridge/via/k8t890/ctrl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/southbridge/via/k8t890/ctrl.c b/src/southbridge/via/k8t890/ctrl.c index f5e248dea0..61fa28ed19 100644 --- a/src/southbridge/via/k8t890/ctrl.c +++ b/src/southbridge/via/k8t890/ctrl.c @@ -162,8 +162,9 @@ static void ctrl_init(struct device *dev) /* VT8237R specific configuration other SB are done in their own directories */ - device_t devsb = dev_find_device(PCI_VENDOR_ID_VIA, - PCI_DEVICE_ID_VIA_VT8237R_LPC, 0); + struct device *devsb = dev_find_device(PCI_VENDOR_ID_VIA, + PCI_DEVICE_ID_VIA_VT8237R_LPC, + 0); if (devsb) { vt8237r_vlink_init(dev); k8x8xx_vt8237r_cfg(dev, devsb); |