diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-09-20 17:26:10 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2018-10-23 06:47:04 +0000 |
commit | 88030b722dfa31291aa263ff54e4d59431d4557b (patch) | |
tree | 3d3fd75056351e4a2ef261730210302e54b05f6a /src/device | |
parent | fa5c69ff85096ecbacc7457f077739d1969a1b16 (diff) |
{device,drivers}: Use 'unsigned int' to bare use of 'unsigned'
Change-Id: Iebb043a6fbc5803fbb7cad2f35b43917e10d09d4
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/28700
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device')
-rw-r--r-- | src/device/pci_device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device/pci_device.c b/src/device/pci_device.c index b4a8a5ce0e..e35c22c113 100644 --- a/src/device/pci_device.c +++ b/src/device/pci_device.c @@ -726,7 +726,8 @@ void pci_bus_reset(struct bus *bus) delay(1); } -void pci_dev_set_subsystem(struct device *dev, unsigned vendor, unsigned device) +void pci_dev_set_subsystem(struct device *dev, unsigned int vendor, + unsigned int device) { pci_write_config32(dev, PCI_SUBSYSTEM_VENDOR_ID, ((device & 0xffff) << 16) | (vendor & 0xffff)); |