drivers/note: Add const to g_notelog_ops
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
98ab55ef68
commit
1815f8b731
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user