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.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -0,0 +1,7 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 2 | #ifndef __LINUX_RESET_SOCFPGA_H__ | ||
| 3 | #define __LINUX_RESET_SOCFPGA_H__ | ||
| 4 | |||
| 5 | void __init socfpga_reset_init(void); | ||
| 6 | |||
| 7 | #endif /* __LINUX_RESET_SOCFPGA_H__ */ | ||