aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/i2c_early.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/apollolake/i2c_early.c')
-rw-r--r--src/soc/intel/apollolake/i2c_early.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/apollolake/i2c_early.c b/src/soc/intel/apollolake/i2c_early.c
index 7c188a8544..bb002748f0 100644
--- a/src/soc/intel/apollolake/i2c_early.c
+++ b/src/soc/intel/apollolake/i2c_early.c
@@ -25,7 +25,7 @@
#include <soc/pci_devs.h>
#include "chip.h"
-static int i2c_early_init_bus(unsigned bus)
+static int i2c_early_init_bus(unsigned int bus)
{
ROMSTAGE_CONST struct soc_intel_apollolake_config *config;
ROMSTAGE_CONST struct device *tree_dev;
@@ -78,9 +78,9 @@ static int i2c_early_init_bus(unsigned bus)
return 0;
}
-uintptr_t lpss_i2c_base_address(unsigned bus)
+uintptr_t lpss_i2c_base_address(unsigned int bus)
{
- unsigned devfn;
+ unsigned int devfn;
pci_devfn_t dev;
uintptr_t base;