drv_data is added to the pinctrl_pin_desc for drivers to define additional driver-specific per-pin data.
Signed-off-by: Sherman Yin <s...@broadcom.com> Reviewed-by: Christian Daudt <b...@fixthebug.org> Reviewed-by: Matt Porter <matt.por...@linaro.org> --- v4: no change v3: no change v2: no change --- include/linux/pinctrl/pinctrl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pinctrl/pinctrl.h b/include/linux/pinctrl/pinctrl.h index fefb886..cc8e1af 100644 --- a/include/linux/pinctrl/pinctrl.h +++ b/include/linux/pinctrl/pinctrl.h @@ -32,10 +32,12 @@ struct device_node; * pins, pads or other muxable units in this struct * @number: unique pin number from the global pin number space * @name: a name for this pin + * @drv_data: driver-defined per-pin data. pinctrl core does not touch this */ struct pinctrl_pin_desc { unsigned number; const char *name; + void *drv_data; }; /* Convenience macro to define a single named or anonymous pin descriptor */ -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/