diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-09 10:05:29 -0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-03-13 17:45:16 +0100 |
commit | 0096d07274e067c7f6ec06f5cb658f79484b036f (patch) | |
tree | fae52d0706eff75a16015ce54a95a88fcbaca42f /src/soc/intel/apollolake/i2c.c | |
parent | 4430f9f75d81007f8748327526522c8c774d10b3 (diff) | |
download | coreboot-0096d07274e067c7f6ec06f5cb658f79484b036f.tar.gz coreboot-0096d07274e067c7f6ec06f5cb658f79484b036f.tar.bz2 coreboot-0096d07274e067c7f6ec06f5cb658f79484b036f.zip |
soc/intel/apollolake: Fix unsigned warnings
Fix the following warning detected by checkpatch.pl:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
TEST=Build for reef
Change-Id: Ifc45ce90d466d087cd20af72ddfc8486d2f1492c
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18724
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/intel/apollolake/i2c.c')
-rw-r--r-- | src/soc/intel/apollolake/i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/apollolake/i2c.c b/src/soc/intel/apollolake/i2c.c index bb30c51c2618..9aadc78b8cd2 100644 --- a/src/soc/intel/apollolake/i2c.c +++ b/src/soc/intel/apollolake/i2c.c @@ -26,9 +26,9 @@ #include <soc/pci_ids.h> #include "chip.h" -uintptr_t lpss_i2c_base_address(unsigned bus) +uintptr_t lpss_i2c_base_address(unsigned int bus) { - unsigned devfn; + unsigned int devfn; struct device *dev; struct resource *res; |