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>
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#include <device/i2c_simple.h>
|
||||
#include <stdint.h>
|
||||
|
||||
int i2c_read_field(unsigned bus, uint8_t chip, uint8_t reg, uint8_t *data,
|
||||
int i2c_read_field(unsigned int bus, uint8_t chip, uint8_t reg, uint8_t *data,
|
||||
uint8_t mask, uint8_t shift)
|
||||
{
|
||||
int ret;
|
||||
@@ -28,7 +28,7 @@ int i2c_read_field(unsigned bus, uint8_t chip, uint8_t reg, uint8_t *data,
|
||||
return ret;
|
||||
}
|
||||
|
||||
int i2c_write_field(unsigned bus, uint8_t chip, uint8_t reg, uint8_t data,
|
||||
int i2c_write_field(unsigned int bus, uint8_t chip, uint8_t reg, uint8_t data,
|
||||
uint8_t mask, uint8_t shift)
|
||||
{
|
||||
int ret;
|
||||
|
Reference in New Issue
Block a user