From: Tomasz Figa Date: Fri, 17 May 2013 16:24:31 +0000 (+0200) Subject: pinctrl: samsung: Allow per-bank SoC-specific private data X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3385474c3a2f5e81df67cba426c29beefd8a5c18;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git pinctrl: samsung: Allow per-bank SoC-specific private data This patch extends pin bank descriptor structure with SoC-specific private data field that allows SoC-specific drivers to store their own private data. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park Tested-by: Doug Anderson Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/pinctrl-samsung.h b/drivers/pinctrl/pinctrl-samsung.h index b316d9fe9b6b..26d3519240c9 100644 --- a/drivers/pinctrl/pinctrl-samsung.h +++ b/drivers/pinctrl/pinctrl-samsung.h @@ -139,6 +139,7 @@ struct samsung_pin_bank { u32 eint_mask; u32 eint_offset; char *name; + void *soc_priv; struct device_node *of_node; struct samsung_pinctrl_drv_data *drvdata; struct irq_domain *irq_domain;