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>
This commit is contained in:
parent
7b7bc59f20
commit
9c6e9c684f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue