提交 9f2e57ca 编写于 作者: T Thierry Reding

gpu: host1x: Constify array of action handlers

This array never needs to be modified and therefore can be read-only
data.
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 813a9d4e
......@@ -135,7 +135,7 @@ static void action_wakeup_interruptible(struct host1x_waitlist *waiter)
typedef void (*action_handler)(struct host1x_waitlist *waiter);
static action_handler action_handlers[HOST1X_INTR_ACTION_COUNT] = {
static const action_handler action_handlers[HOST1X_INTR_ACTION_COUNT] = {
action_submit_complete,
action_wakeup,
action_wakeup_interruptible,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册