diff options
author | Basavaraj Natikar <Basavaraj.Natikar@amd.com> | 2021-08-31 17:36:12 +0530 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-09-17 00:48:45 +0200 |
commit | 7e6f8d6f4a42ef9b693ff1b49267c546931d4619 (patch) | |
tree | e33e4889947be283befa5c120812d45f2f666e36 /drivers/pinctrl/pinctrl-amd.h | |
parent | 129803e642ac3d828b3c73ff10f570c42d962ef8 (diff) | |
download | linux-7e6f8d6f4a42ef9b693ff1b49267c546931d4619.tar.bz2 |
pinctrl: amd: Add irq field data
pinctrl_amd use gpiochip_get_data() to get their local state containers
back from the gpiochip passed as amd_gpio chip data.
Hence added irq field data to get directly using amd_gpio chip data.
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Tested-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://lore.kernel.org/r/20210831120613.1514899-2-Basavaraj.Natikar@amd.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-amd.h')
-rw-r--r-- | drivers/pinctrl/pinctrl-amd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-amd.h b/drivers/pinctrl/pinctrl-amd.h index 95e763424042..1d4317073654 100644 --- a/drivers/pinctrl/pinctrl-amd.h +++ b/drivers/pinctrl/pinctrl-amd.h @@ -98,6 +98,7 @@ struct amd_gpio { struct resource *res; struct platform_device *pdev; u32 *saved_regs; + int irq; }; /* KERNCZ configuration*/ |