summaryrefslogtreecommitdiff
path: root/src/drivers/ricoh/rce822
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/ricoh/rce822')
-rw-r--r--src/drivers/ricoh/rce822/rce822.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/ricoh/rce822/rce822.c b/src/drivers/ricoh/rce822/rce822.c
index b364946e56..297dd61606 100644
--- a/src/drivers/ricoh/rce822/rce822.c
+++ b/src/drivers/ricoh/rce822/rce822.c
@@ -39,7 +39,8 @@ static void rce822_init(struct device *dev)
pci_write_config8(dev, 0xf9, 0x00);
}
-static void rce822_set_subsystem(struct device *dev, unsigned vendor, unsigned device)
+static void rce822_set_subsystem(struct device *dev, unsigned int vendor,
+ unsigned int device)
{
if (!vendor || !device) {
pci_write_config32(dev, 0xac,