summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/device_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device_util.c b/src/device/device_util.c
index 83decc1188..dc43b9a656 100644
--- a/src/device/device_util.c
+++ b/src/device/device_util.c
@@ -100,7 +100,7 @@ struct device *dev_find_slot_on_smbus(unsigned int bus, unsigned int addr)
* @param device Logical device number.
* @return Pointer to the device structure (if found), 0 otherwise.
*/
-struct device *dev_find_slot_pnp(u16 port, u8 device)
+struct device *dev_find_slot_pnp(u16 port, u16 device)
{
struct device *dev;