From 1815f8b7311e224399586d072dcbfc1472241754 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Tue, 3 Jan 2023 00:41:45 +0800 Subject: [PATCH] drivers/note: Add const to g_notelog_ops Signed-off-by: Xiang Xiao --- drivers/note/notelog_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/note/notelog_driver.c b/drivers/note/notelog_driver.c index 82e594659d..01ec3d6e44 100644 --- a/drivers/note/notelog_driver.c +++ b/drivers/note/notelog_driver.c @@ -79,7 +79,7 @@ static void notelog_irqhandler(FAR struct note_driver_s *drv, int irq, * Private Data ****************************************************************************/ -static struct note_driver_ops_s g_notelog_ops = +static const struct note_driver_ops_s g_notelog_ops = { NULL, /* add */ notelog_start, /* start */