diff options
Diffstat (limited to 'include/gpio.h')
-rw-r--r-- | include/gpio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gpio.h b/include/gpio.h index 05123c4eb6..5e4edf0593 100644 --- a/include/gpio.h +++ b/include/gpio.h @@ -32,10 +32,10 @@ int gpio_init(void); * supported / not present on the board. */ /* Gets the current value of a signal (0=low, 1=hi). */ -int gpio_get(enum gpio_signal signal, int *value_ptr); +int gpio_get_level(enum gpio_signal signal); /* Sets the current value of a signal. Returns error if the signal is * not supported or is an input signal. */ -int gpio_set(enum gpio_signal signal, int value); +int gpio_set_level(enum gpio_signal signal, int value); #endif /* __CROS_EC_GPIO_H */ |