#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <dt-bindings/mfd/atmel-flexcom.h>
#define FLEX_MR …
#define FLEX_VERSION …
#define FLEX_MR_OPMODE_OFFSET …
#define FLEX_MR_OPMODE_MASK …
#define FLEX_MR_OPMODE(opmode) …
struct atmel_flexcom { … };
static int atmel_flexcom_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id atmel_flexcom_of_match[] = …;
MODULE_DEVICE_TABLE(of, atmel_flexcom_of_match);
static int __maybe_unused atmel_flexcom_resume_noirq(struct device *dev)
{ … }
static const struct dev_pm_ops __maybe_unused atmel_flexcom_pm_ops = …;
static struct platform_driver atmel_flexcom_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;