Re: [PATCH] staging: wfx: silence symbol 'wfx_get_ps_timeout' was not declared warning

2021-04-19 Thread Ashish Kalra
On Mon, Apr 19, 2021 at 05:55:34PM +0200, Jérôme Pouiller wrote: > On Monday 19 April 2021 17:33:48 CEST Ashish Kalra wrote: > > > > Upon running sparse, "warning: symbol 'wfx_get_ps_timeout' was not declared. > > Should it be static?" and "warning: symbol 'wfx_update_pm' was not declared. > >

Re: [PATCH] staging: wfx: silence symbol 'wfx_get_ps_timeout' was not declared warning

2021-04-19 Thread Jérôme Pouiller
On Monday 19 April 2021 17:33:48 CEST Ashish Kalra wrote: > > Upon running sparse, "warning: symbol 'wfx_get_ps_timeout' was not declared. > Should it be static?" and "warning: symbol 'wfx_update_pm' was not declared. > Should it be static?" is brought to notice for this file. static keyword >

[PATCH] staging: wfx: silence symbol 'wfx_get_ps_timeout' was not declared warning

2021-04-19 Thread Ashish Kalra
Upon running sparse, "warning: symbol 'wfx_get_ps_timeout' was not declared. Should it be static?" and "warning: symbol 'wfx_update_pm' was not declared. Should it be static?" is brought to notice for this file. static keyword should be added to prevent this warning. let's add it to make it