Re: [PATCH 2/2] reset: socfpga: declare socfpga_reset_init in a header file

2018-12-13 Thread Dinh Nguyen
On 12/13/18 6:33 AM, Philipp Zabel wrote: > 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 > Signed-off-by: Philipp Zabel > --- Acked-by:

[PATCH 2/2] reset: socfpga: declare socfpga_reset_init in a header file

2018-12-13 Thread Philipp Zabel
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 Signed-off-by: Philipp Zabel --- arch/arm/mach-socfpga/socfpga.c | 3 +-- drivers/reset/reset-socfpga.c