#include <linux/init.h>
#include <linux/io.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
#include <linux/pinctrl/pinctrl.h>
#include "pinctrl-ma35.h"
static const struct pinctrl_pin_desc ma35d1_pins[] = …;
static int ma35d1_get_pin_num(int offset, int shift)
{ … }
static struct ma35_pinctrl_soc_info ma35d1_pinctrl_info = …;
static DEFINE_NOIRQ_DEV_PM_OPS(ma35_pinctrl_pm_ops, ma35_pinctrl_suspend, ma35_pinctrl_resume);
static int ma35d1_pinctrl_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id ma35d1_pinctrl_of_match[] = …;
static struct platform_driver ma35d1_pinctrl_driver = …;
static int __init ma35d1_pinctrl_init(void)
{ … }
arch_initcall(ma35d1_pinctrl_init);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;