diff options
author | Martin Roth <martin@coreboot.org> | 2019-10-23 21:41:00 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-10-27 21:08:39 +0000 |
commit | 38ddbfb325866716c9c65a460e388f33d1a773dd (patch) | |
tree | ffc7469c60e0a94321cf96de2bd0c4928067849f /src/device/pci_device.c | |
parent | e74ca4ffc2008a93e38909a4d583408affbaf28a (diff) | |
download | coreboot-38ddbfb325866716c9c65a460e388f33d1a773dd.tar.xz |
src/[arch-lib]: change "unsigned" to "unsigned int"
Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: Ibb7b48a7a144421aff29acbb7ac30968ae5fe5ab
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36329
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/device/pci_device.c')
-rw-r--r-- | src/device/pci_device.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/device/pci_device.c b/src/device/pci_device.c index 191c8460c8..36b7c82d2a 100644 --- a/src/device/pci_device.c +++ b/src/device/pci_device.c @@ -345,7 +345,7 @@ static void pci_read_bases(struct device *dev, unsigned int howmany) } static void pci_record_bridge_resource(struct device *dev, resource_t moving, - unsigned index, unsigned long type) + unsigned int index, unsigned long type) { struct resource *resource; unsigned long gran; @@ -1162,8 +1162,8 @@ unsigned int pci_match_simple_dev(struct device *dev, pci_devfn_t sdev) * @param min_devfn Minimum devfn to look at in the scan, usually 0x00. * @param max_devfn Maximum devfn to look at in the scan, usually 0xff. */ -void pci_scan_bus(struct bus *bus, unsigned min_devfn, - unsigned max_devfn) +void pci_scan_bus(struct bus *bus, unsigned int min_devfn, + unsigned int max_devfn) { unsigned int devfn; struct device *dev, **prev; @@ -1311,8 +1311,8 @@ static void pci_bridge_route(struct bus *link, scan_state state) */ void do_pci_scan_bridge(struct device *dev, void (*do_scan_bus) (struct bus * bus, - unsigned min_devfn, - unsigned max_devfn)) + unsigned int min_devfn, + unsigned int max_devfn)) { struct bus *bus; |