summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/ipq40xx/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/qualcomm/ipq40xx/gpio.c')
-rw-r--r--src/soc/qualcomm/ipq40xx/gpio.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/soc/qualcomm/ipq40xx/gpio.c b/src/soc/qualcomm/ipq40xx/gpio.c
index a4b06c2c76..41352419d9 100644
--- a/src/soc/qualcomm/ipq40xx/gpio.c
+++ b/src/soc/qualcomm/ipq40xx/gpio.c
@@ -58,11 +58,11 @@ Return : None
*******************************************************/
-void gpio_tlmm_config_set(gpio_t gpio, unsigned func,
- unsigned pull, unsigned drvstr,
- unsigned enable)
+void gpio_tlmm_config_set(gpio_t gpio, unsigned int func,
+ unsigned int pull, unsigned int drvstr,
+ unsigned int enable)
{
- unsigned val = 0;
+ unsigned int val = 0;
if (gpio_not_valid(gpio))
return;
@@ -88,11 +88,11 @@ Return : None
*******************************************************/
-void gpio_tlmm_config_get(gpio_t gpio, unsigned *func,
- unsigned *pull, unsigned *drvstr,
- unsigned *enable)
+void gpio_tlmm_config_get(gpio_t gpio, unsigned int *func,
+ unsigned int *pull, unsigned int *drvstr,
+ unsigned int *enable)
{
- unsigned val;
+ unsigned int val;
void *addr = GPIO_CONFIG_ADDR(gpio);
if (gpio_not_valid(gpio))