summaryrefslogtreecommitdiff
path: root/src/mainboard/roda/rk9/ti_pci7xx1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/roda/rk9/ti_pci7xx1.c')
-rw-r--r--src/mainboard/roda/rk9/ti_pci7xx1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/roda/rk9/ti_pci7xx1.c b/src/mainboard/roda/rk9/ti_pci7xx1.c
index 9f8e53ee2e..4154cc86bd 100644
--- a/src/mainboard/roda/rk9/ti_pci7xx1.c
+++ b/src/mainboard/roda/rk9/ti_pci7xx1.c
@@ -25,7 +25,7 @@ static void pci7xx1_enable(struct device *const dev)
{
printk(BIOS_DEBUG, "%s: TI PCI7xx1 media controller\n", __func__);
if (PCI_FUNC(dev->path.pci.devfn) == 0) {
- const unsigned slot = PCI_SLOT(dev->path.pci.devfn);
+ const unsigned int slot = PCI_SLOT(dev->path.pci.devfn);
int fn;