summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-samsung.h
diff options
context:
space:
mode:
authorTomasz Figa2013-05-17 18:24:31 +0200
committerLinus Walleij2013-05-27 15:37:09 +0200
commit3385474c3a2f5e81df67cba426c29beefd8a5c18 (patch)
tree5f79ff5871a71cae2fa365e0de15724a69968a3c /drivers/pinctrl/pinctrl-samsung.h
parentpinctrl: samsung: Add support for SoC-specific suspend/resume callbacks (diff)
downloadkernel-qcow2-linux-3385474c3a2f5e81df67cba426c29beefd8a5c18.tar.gz
kernel-qcow2-linux-3385474c3a2f5e81df67cba426c29beefd8a5c18.tar.xz
kernel-qcow2-linux-3385474c3a2f5e81df67cba426c29beefd8a5c18.zip
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 <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Tested-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-samsung.h')
-rw-r--r--drivers/pinctrl/pinctrl-samsung.h1
1 files changed, 1 insertions, 0 deletions
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;