summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-amd.h
diff options
context:
space:
mode:
authorBasavaraj Natikar <Basavaraj.Natikar@amd.com>2021-08-31 14:06:12 +0200
committerLinus Walleij <linus.walleij@linaro.org>2021-09-17 00:48:45 +0200
commit7e6f8d6f4a42ef9b693ff1b49267c546931d4619 (patch)
treee33e4889947be283befa5c120812d45f2f666e36 /drivers/pinctrl/pinctrl-amd.h
parentpinctrl: core: Remove duplicated word from devm_pinctrl_unregister() (diff)
downloadlinux-7e6f8d6f4a42ef9b693ff1b49267c546931d4619.tar.xz
linux-7e6f8d6f4a42ef9b693ff1b49267c546931d4619.zip
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.h1
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*/