Files
Linux/include/linux/vexpress.h
T
Rob Herring 310f80d617 vexpress: Move setting master site to vexpress-config bus
There's only a single caller of vexpress_config_set_master() from
vexpress-sysreg.c. Let's just make the registers needed available to
vexpress-config and move all the code there. The registers needed aren't
used anywhere else either. With this, we can get rid of the private API
between these 2 drivers.

Cc: Lorenzo Pieralisi <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Acked-by: Liviu Dudau <[email protected]>
Acked-by: Sudeep Holla <[email protected]>
Acked-by: Lee Jones <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
2020-05-13 12:42:46 -05:00

18 lines
297 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
*
* Copyright (C) 2012 ARM Limited
*/
#ifndef _LINUX_VEXPRESS_H
#define _LINUX_VEXPRESS_H
#include <linux/device.h>
#include <linux/regmap.h>
/* Config regmap API */
struct regmap *devm_regmap_init_vexpress_config(struct device *dev);
#endif