diff options
author | Simon Glass <sjg@chromium.org> | 2015-01-05 20:05:32 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-29 17:09:51 -0700 |
commit | 32f8a19f6d9aa551dc64868fac4b662c088dfb1f (patch) | |
tree | b0599118871246a79878caa6ad7ea50e33875489 /include | |
parent | a02af4aeece40e93bc7d79cd5dc912409efb7020 (diff) | |
download | u-boot-32f8a19f6d9aa551dc64868fac4b662c088dfb1f.zip u-boot-32f8a19f6d9aa551dc64868fac4b662c088dfb1f.tar.gz u-boot-32f8a19f6d9aa551dc64868fac4b662c088dfb1f.tar.bz2 |
dm: cros_ec: Remove use of fdtdec GPIO support
These functions are going away, so use the new uclass support instead.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/cros_ec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/cros_ec.h b/include/cros_ec.h index 9e13146..8457c80 100644 --- a/include/cros_ec.h +++ b/include/cros_ec.h @@ -13,6 +13,7 @@ #include <ec_commands.h> #include <fdtdec.h> #include <cros_ec_message.h> +#include <asm/gpio.h> #ifndef CONFIG_DM_CROS_EC /* Which interface is the device on? */ @@ -39,7 +40,7 @@ struct cros_ec_dev { unsigned int bus_num; /* Bus number (for I2C) */ unsigned int max_frequency; /* Maximum interface frequency */ #endif - struct fdt_gpio_state ec_int; /* GPIO used as EC interrupt line */ + struct gpio_desc ec_int; /* GPIO used as EC interrupt line */ int protocol_version; /* Protocol version to use */ int optimise_flash_write; /* Don't write erased flash blocks */ |