diff options
Diffstat (limited to 'src/soc/intel/common/lpss_i2c.c')
-rw-r--r-- | src/soc/intel/common/lpss_i2c.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/soc/intel/common/lpss_i2c.c b/src/soc/intel/common/lpss_i2c.c index c391ffe4a9..8dfa3af365 100644 --- a/src/soc/intel/common/lpss_i2c.c +++ b/src/soc/intel/common/lpss_i2c.c @@ -346,7 +346,7 @@ static int lpss_i2c_transfer_byte(struct lpss_i2c_regs *regs, } /* Global I2C bus handler, defined in include/i2c.h */ -int platform_i2c_transfer(unsigned bus, struct i2c_seg *segments, int count) +int platform_i2c_transfer(unsigned int bus, struct i2c_seg *segments, int count) { struct stopwatch sw; struct lpss_i2c_regs *regs; @@ -476,7 +476,7 @@ static void lpss_i2c_acpi_write_speed_config( acpigen_pop_len(); } -static int lpss_i2c_set_speed_config(unsigned bus, +static int lpss_i2c_set_speed_config(unsigned int bus, const struct lpss_i2c_speed_config *config) { struct lpss_i2c_regs *regs; @@ -651,7 +651,7 @@ static int lpss_i2c_gen_speed_config(struct lpss_i2c_regs *regs, return 0; } -static int lpss_i2c_set_speed(unsigned bus, enum i2c_speed speed, +static int lpss_i2c_set_speed(unsigned int bus, enum i2c_speed speed, const struct lpss_i2c_bus_config *bcfg) { struct lpss_i2c_regs *regs; @@ -690,7 +690,7 @@ static int lpss_i2c_set_speed(unsigned bus, enum i2c_speed speed, return 0; } -void lpss_i2c_acpi_fill_ssdt(unsigned bus, +void lpss_i2c_acpi_fill_ssdt(unsigned int bus, const struct lpss_i2c_bus_config *bcfg) { struct lpss_i2c_regs *regs; @@ -721,7 +721,7 @@ void lpss_i2c_acpi_fill_ssdt(unsigned bus, } } -int lpss_i2c_init(unsigned bus, const struct lpss_i2c_bus_config *bcfg) +int lpss_i2c_init(unsigned int bus, const struct lpss_i2c_bus_config *bcfg) { struct lpss_i2c_regs *regs; enum i2c_speed speed; |