diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-16 17:35:32 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-17 02:36:16 +0100 |
commit | 1072e7dcc30895f850143450504b78a4135978b6 (patch) | |
tree | acb2af2ec8ddcce177ca924ed6411e564f2ad3c2 /src/soc/intel/braswell/lpe.c | |
parent | 6598b91fe34fe9e6e6fbea592ead5e4fc2900551 (diff) | |
download | coreboot-1072e7dcc30895f850143450504b78a4135978b6.tar.xz |
soc/intel/braswell: Add int to unsigned
Fix the following warning detected by checkpatch.pl:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
TEST=Build for cyan
Change-Id: Ib5c6a1bf5308a8add42d7371854b80ea53d7ae84
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18870
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/soc/intel/braswell/lpe.c')
-rw-r--r-- | src/soc/intel/braswell/lpe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/braswell/lpe.c b/src/soc/intel/braswell/lpe.c index 4662b4324e..40bda1252c 100644 --- a/src/soc/intel/braswell/lpe.c +++ b/src/soc/intel/braswell/lpe.c @@ -44,7 +44,7 @@ #define FIRMWARE_REG_BASE_C0 0x144000 #define FIRMWARE_REG_LENGTH_C0 (FIRMWARE_REG_BASE_C0 + 4) -static void assign_device_nvs(device_t dev, u32 *field, unsigned index) +static void assign_device_nvs(device_t dev, u32 *field, unsigned int index) { struct resource *res; |