summaryrefslogtreecommitdiff
path: root/include/linux/reset
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2018-12-13 14:24:36 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2019-01-28 13:16:04 +0300
commitcdbeb315ed8dcc142a68054899cedd6e4f1fea3f (patch)
tree760ccfece345b8808712ab013f5b63a2953edbfc /include/linux/reset
parentfdce60787f6215607dc7ac910cbaf4416684b589 (diff)
downloadlinux-cdbeb315ed8dcc142a68054899cedd6e4f1fea3f.tar.xz
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>
Diffstat (limited to 'include/linux/reset')
-rw-r--r--include/linux/reset/socfpga.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/reset/socfpga.h b/include/linux/reset/socfpga.h
new file mode 100644
index 000000000000..b11a2047c342
--- /dev/null
+++ b/include/linux/reset/socfpga.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __LINUX_RESET_SOCFPGA_H__
+#define __LINUX_RESET_SOCFPGA_H__
+
+void __init socfpga_reset_init(void);
+
+#endif /* __LINUX_RESET_SOCFPGA_H__ */