mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 06:41:39 +00:00
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>
This commit is contained in:
parent
fdce60787f
commit
cdbeb315ed
3 changed files with 9 additions and 3 deletions
7
include/linux/reset/socfpga.h
Normal file
7
include/linux/reset/socfpga.h
Normal file
|
@ -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__ */
|
Loading…
Add table
Add a link
Reference in a new issue