Re: [PATCH] ALSA: hrtimer: make hrtimer_hw const and __initconst

2017-09-19 Thread Takashi Iwai
On Tue, 19 Sep 2017 13:14:38 +0200, Bhumika Goyal wrote: > > Make this const as it is only used during a copy operation. Also, make > it __initconst as it is only used during the init phase and after this > it is not referenced anywhere. > > Signed-off-by: Bhumika Goyal

Re: [PATCH] ALSA: hrtimer: make hrtimer_hw const and __initconst

2017-09-19 Thread Takashi Iwai
On Tue, 19 Sep 2017 13:14:38 +0200, Bhumika Goyal wrote: > > Make this const as it is only used during a copy operation. Also, make > it __initconst as it is only used during the init phase and after this > it is not referenced anywhere. > > Signed-off-by: Bhumika Goyal Applied, thanks.

[PATCH] ALSA: hrtimer: make hrtimer_hw const and __initconst

2017-09-19 Thread Bhumika Goyal
Make this const as it is only used during a copy operation. Also, make it __initconst as it is only used during the init phase and after this it is not referenced anywhere. Signed-off-by: Bhumika Goyal --- sound/core/hrtimer.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] ALSA: hrtimer: make hrtimer_hw const and __initconst

2017-09-19 Thread Bhumika Goyal
Make this const as it is only used during a copy operation. Also, make it __initconst as it is only used during the init phase and after this it is not referenced anywhere. Signed-off-by: Bhumika Goyal --- sound/core/hrtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git