summaryrefslogtreecommitdiff
path: root/src/include/device/pnp.h
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2019-12-15 13:51:19 +0100
committerFelix Held <felix-coreboot@felixheld.de>2019-12-16 13:40:19 +0000
commit9c6e9c684f0b3770c9c08586985993750b5cb3b9 (patch)
tree38f137676e14310c45a72b70b1b28d5c2b5a5b08 /src/include/device/pnp.h
parent7b7bc59f2016264d02fa245341e3507539dcac8f (diff)
downloadcoreboot-9c6e9c684f0b3770c9c08586985993750b5cb3b9.tar.xz
device/pnp: use correct width type for pnp_info.function
Change-Id: Idbc1b37a8c98fe7fa24d8632e6a55c046e2d2869 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37740 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/include/device/pnp.h')
-rw-r--r--src/include/device/pnp.h2
1 files changed, 1 insertions, 1 deletions
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