as5048b.c: change initialization of struct to C89 standard

This commit is contained in:
zouboan 2022-08-27 11:10:20 +08:00 committed by Petro Karashchenko
parent a5fd1140cb
commit b933ea63c4

View File

@ -91,13 +91,13 @@ static int as5048b_ioctl(FAR struct qe_lowerhalf_s *lower, int cmd,
static const struct qe_ops_s g_qeops =
{
.setup = as5048b_setup,
.shutdown = as5048b_shutdown,
.position = as5048b_position,
.setposmax = NULL, /* not supported yet */
.reset = as5048b_reset,
.setindex = NULL, /* not supported yet */
.ioctl = as5048b_ioctl
as5048b_setup, /* setup */
as5048b_shutdown, /* shutdown */
as5048b_position, /* position */
NULL, /* setposmax */
as5048b_reset, /* reset */
NULL, /* setindex */
as5048b_ioctl /* ioctl */
};
/****************************************************************************