#include <linux/mfd/stm32-lptimer.h>
#include <linux/module.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#define STM32_LPTIM_MAX_REGISTER …
static const struct regmap_config stm32_lptimer_regmap_cfg = …;
static int stm32_lptimer_detect_encoder(struct stm32_lptimer *ddata)
{ … }
static int stm32_lptimer_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id stm32_lptimer_of_match[] = …;
MODULE_DEVICE_TABLE(of, stm32_lptimer_of_match);
static struct platform_driver stm32_lptimer_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_ALIAS(…) …;
MODULE_LICENSE(…) …;