VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Thierry Reding <treding@nvidia.com> 2016-06-23 11:38:41 +0200 committer: Thierry Reding <treding@nvidia.com> 2016-06-23 11:59:31 +0200 commit: 9f2e57cada0483c1d564053a254d6004cddf1c31 parent: 813a9d4ecdf0f6a3bcb5cf57ea4b9ebd69b31ee8
Commit Summary:
gpu: host1x: Constify array of action handlers
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/gpu/host1x/intr.c b/drivers/gpu/host1x/intr.c
index a04d10407639..8b4fad0ab35d 100644
--- a/drivers/gpu/host1x/intr.c
+++ b/drivers/gpu/host1x/intr.c
@@ -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,