[PATCH 0/2] reset: socfpga, sunxi: declare _reset_init functions in header files

From: Philipp Zabel
Date: Thu Dec 13 2018 - 07:34:29 EST


Hi,

this moves the socpfga_reset_init function declaration into a header
file that is included by both mach-socfpga and reset-socfpga code,
as suggested by Stephen. The second patch does the same for
sun6i_reset_init.

Since the socfpga patch avoids a (trivial) merge conflict with the
arm-soc tree, I'd like to apply this to the reset/next branch before
sending a pull request.

regards
Philipp

Philipp Zabel (2):
reset: sunxi: declare sun6i_reset_init in a header file
reset: socfpga: declare socfpga_reset_init in a header file

arch/arm/mach-socfpga/socfpga.c | 3 +--
arch/arm/mach-sunxi/sunxi.c | 2 +-
drivers/reset/reset-socfpga.c | 2 +-
drivers/reset/reset-sunxi.c | 1 +
include/linux/reset/socfpga.h | 7 +++++++
include/linux/reset/sunxi.h | 7 +++++++
6 files changed, 18 insertions(+), 4 deletions(-)
create mode 100644 include/linux/reset/socfpga.h
create mode 100644 include/linux/reset/sunxi.h

--
2.19.1