alistair23-linux/include/linux/platform_data/pinctrl-single.h
Masahiro Yamada 3d6ade0abf pinctrl: pinctrl-single: add header include guard
Add a header include guard just in case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Link: https://lore.kernel.org/r/20190720115858.7015-1-yamada.masahiro@socionext.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-08-05 11:08:55 +02:00

20 lines
425 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _PINCTRL_SINGLE_H
#define _PINCTRL_SINGLE_H
/**
* irq: optional wake-up interrupt
* rearm: optional soc specific rearm function
*
* Note that the irq and rearm setup should come from device
* tree except for omap where there are still some dependencies
* to the legacy PRM code.
*/
struct pcs_pdata {
int irq;
void (*rearm)(void);
};
#endif /* _PINCTRL_SINGLE_H */