drivers/note: Add const to g_notelog_ops

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-01-03 00:41:45 +08:00 committed by Petro Karashchenko
parent 98ab55ef68
commit 1815f8b731

View File

@ -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 */