summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-05-17 18:24:31 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-05-27 15:37:09 +0200
commit3385474c3a2f5e81df67cba426c29beefd8a5c18 (patch)
tree5f79ff5871a71cae2fa365e0de15724a69968a3c /drivers/pinctrl
parent21c219933fd123d4cdfc8853f51c41330b9d6c28 (diff)
downloadop-kernel-dev-3385474c3a2f5e81df67cba426c29beefd8a5c18.zip
op-kernel-dev-3385474c3a2f5e81df67cba426c29beefd8a5c18.tar.gz
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')
-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 b316d9f..26d3519 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;
OpenPOWER on IntegriCloud