reset: socfpga: declare socfpga_reset_init in a header file
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 13 Dec 2018 11:24:36 +0000 (12:24 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 28 Jan 2019 10:16:04 +0000 (11:16 +0100)
commitcdbeb315ed8dcc142a68054899cedd6e4f1fea3f
tree760ccfece345b8808712ab013f5b63a2953edbfc
parentfdce60787f6215607dc7ac910cbaf4416684b589
reset: socfpga: declare socfpga_reset_init in a header file

Avoid declaring extern functions in c files. To make sure function
definition and usage don't get out of sync, declare socfpga_reset_init
in a common header.

Suggested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/mach-socfpga/socfpga.c
drivers/reset/reset-socfpga.c
include/linux/reset/socfpga.h [new file with mode: 0644]