From: Ley Foon Tan Date: Wed, 29 Aug 2018 00:07:57 +0800 Subject: [U-Boot] [PATCH v3 1/2] gpio: Add struct reset_ctl_bulk Message-ID: <1535472478-5677-1-git-send-email-ley.foon.tan@intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add struct reset_ctl_bulk to struct gpio_dev_priv to support reset control in GPIO driver. Signed-off-by: Ley Foon Tan --- include/asm-generic/gpio.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index d036026..9fd5808 100644 --- a/include/asm-generic/gpio.h +++ b/include/asm-generic/gpio.h @@ -8,6 +8,7 @@ #define _ASM_GENERIC_GPIO_H_ #include +#include struct ofnode_phandle_args; @@ -318,6 +319,7 @@ struct gpio_dev_priv { unsigned gpio_count; unsigned gpio_base; char **name; + struct reset_ctl_bulk resets; }; /* Access the GPIO operations for a device */ -- 1.7.1