#include <linux/err.h>
#include <linux/io.h>
#include <linux/init.h>
#include <linux/mfd/syscon.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/reset-controller.h>
#include <linux/regmap.h>
#include <linux/types.h>
struct zynq_reset_data { … };
#define to_zynq_reset_data(p) …
static int zynq_reset_assert(struct reset_controller_dev *rcdev,
unsigned long id)
{ … }
static int zynq_reset_deassert(struct reset_controller_dev *rcdev,
unsigned long id)
{ … }
static int zynq_reset_status(struct reset_controller_dev *rcdev,
unsigned long id)
{ … }
static const struct reset_control_ops zynq_reset_ops = …;
static int zynq_reset_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id zynq_reset_dt_ids[] = …;
static struct platform_driver zynq_reset_driver = …;
builtin_platform_driver(…) …;