summaryrefslogtreecommitdiffstats
path: root/drivers/char/hvc_udbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/hvc_udbg.c')
-rw-r--r--drivers/char/hvc_udbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hvc_udbg.c b/drivers/char/hvc_udbg.c
index bd63ba878a5..b0957e61a7b 100644
--- a/drivers/char/hvc_udbg.c
+++ b/drivers/char/hvc_udbg.c
@@ -58,7 +58,7 @@ static int hvc_udbg_get(uint32_t vtermno, char *buf, int count)
return i;
}
-static struct hv_ops hvc_udbg_ops = {
+static const struct hv_ops hvc_udbg_ops = {
.get_chars = hvc_udbg_get,
.put_chars = hvc_udbg_put,
};