pinctrl: samsung: Allow per-bank SoC-specific private data
authorTomasz Figa <t.figa@samsung.com>
Fri, 17 May 2013 16:24:31 +0000 (18:24 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 May 2013 13:37:09 +0000 (15:37 +0200)
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>
drivers/pinctrl/pinctrl-samsung.h

index b316d9fe9b6b65e1d7ea969fbafd39a8a1cf8f4a..26d3519240c9c7f93bcb3628abf7feb6f6707535 100644 (file)
@@ -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;