From 9c6e9c684f0b3770c9c08586985993750b5cb3b9 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Sun, 15 Dec 2019 13:51:19 +0100 Subject: device/pnp: use correct width type for pnp_info.function Change-Id: Idbc1b37a8c98fe7fa24d8632e6a55c046e2d2869 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/37740 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/include/device/pnp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/include/device/pnp.h b/src/include/device/pnp.h index fde4c9d1dd..d459fd2fd0 100644 --- a/src/include/device/pnp.h +++ b/src/include/device/pnp.h @@ -35,7 +35,7 @@ extern struct device_operations pnp_ops; struct pnp_info { struct device_operations *ops; /* LDN-specific ops override */ #define PNP_SKIP_FUNCTION 0xffff - unsigned int function; /* Must be at least 16 bits (virtual LDNs)! */ + u16 function; /* Must be at least 16 bits (virtual LDNs)! */ unsigned int flags; #define PNP_IO0 0x000001 #define PNP_IO1 0x000002 -- cgit v1.2.3