#include <linux/io.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>
#include <linux/reset-controller.h>
#define to_axs10x_rst(p) …
#define AXS10X_MAX_RESETS …
struct axs10x_rst { … };
static int axs10x_reset_reset(struct reset_controller_dev *rcdev,
unsigned long id)
{ … }
static const struct reset_control_ops axs10x_reset_ops = …;
static int axs10x_reset_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id axs10x_reset_dt_match[] = …;
static struct platform_driver axs10x_reset_driver = …;
builtin_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;