#ifndef __PINCTRL_SPRD_H__
#define __PINCTRL_SPRD_H__
struct platform_device;
#define NUM_OFFSET …
#define TYPE_OFFSET …
#define BIT_OFFSET …
#define WIDTH_OFFSET …
#define SPRD_PIN_INFO(num, type, offset, width, reg) …
#define SPRD_PINCTRL_PIN(pin) …
#define SPRD_PINCTRL_PIN_DATA(a, b) …
enum pin_type { … };
struct sprd_pins_info { … };
int sprd_pinctrl_core_probe(struct platform_device *pdev,
struct sprd_pins_info *sprd_soc_pin_info,
int pins_cnt);
void sprd_pinctrl_remove(struct platform_device *pdev);
void sprd_pinctrl_shutdown(struct platform_device *pdev);
#endif