OSDN Git Service

counter: interrupt-cnt: Add const qualifier for actions_list array
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Thu, 10 Jun 2021 01:36:42 +0000 (10:36 +0900)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 13 Jun 2021 16:00:18 +0000 (17:00 +0100)
commitbc84957d3118df7c05724a0c0e693ffe038d5409
treef8de43530c67a8d586205f61648c3b29fcf2dbc6
parentafedd992c38af6ae7f513c4e86966d9d62c0dbd1
counter: interrupt-cnt: Add const qualifier for actions_list array

The struct counter_synapse actions_list member expects a const enum
counter_synapse_action array. This patch renames
interrupt_cnt_synapse_actionss to interrupt_cnt_synapse_actions and adds
a const qualifier to match actions_list.

Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Reviewed-by: <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20210610013642.149961-1-vilhelm.gray@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/counter/interrupt-cnt.c