#include <linux/device.h>
#include <linux/iopoll.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/reset-controller.h>
#define BRCM_RESCAL_START …
#define BRCM_RESCAL_START_BIT …
#define BRCM_RESCAL_CTRL …
#define BRCM_RESCAL_STATUS …
#define BRCM_RESCAL_STATUS_BIT …
struct brcm_rescal_reset { … };
static int brcm_rescal_reset_set(struct reset_controller_dev *rcdev,
unsigned long id)
{ … }
static int brcm_rescal_reset_xlate(struct reset_controller_dev *rcdev,
const struct of_phandle_args *reset_spec)
{ … }
static const struct reset_control_ops brcm_rescal_reset_ops = …;
static int brcm_rescal_reset_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id brcm_rescal_reset_of_match[] = …;
MODULE_DEVICE_TABLE(of, brcm_rescal_reset_of_match);
static struct platform_driver brcm_rescal_reset_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;