Re: [Linux-stm32] [PATCH v10 10/33] counter: stm32-lptimer-cnt: Add const qualifier for functions_list array

2021-03-22 Thread Fabrice Gasnier
On 3/19/21 12:00 PM, William Breathitt Gray wrote: > The struct counter_count functions_list member expects a const enum > counter_count_function array. This patch adds the const qualifier to the > stm32_lptim_cnt_functions to match functions_list. > > Cc: Fabrice Gasnier > Signed-off-by: William

[PATCH v10 10/33] counter: stm32-lptimer-cnt: Add const qualifier for functions_list array

2021-03-19 Thread William Breathitt Gray
The struct counter_count functions_list member expects a const enum counter_count_function array. This patch adds the const qualifier to the stm32_lptim_cnt_functions to match functions_list. Cc: Fabrice Gasnier Signed-off-by: William Breathitt Gray --- drivers/counter/stm32-lptimer-cnt.c | 2 +