diff --git a/mm/iob/iob.h b/mm/iob/iob.h index 9f43612d710..855c5fd1abc 100644 --- a/mm/iob/iob.h +++ b/mm/iob/iob.h @@ -102,7 +102,7 @@ extern FAR struct iob_qentry_s *g_iob_freeqlist; /* A list of I/O buffer queue containers that are committed for allocation */ -extern FAR struct iob_s *g_iob_qcommitted; +extern FAR struct iob_qentry_s *g_iob_qcommitted; #endif /* Counting semaphores that tracks the number of free IOBs/qentries */ diff --git a/mm/iob/iob_initialize.c b/mm/iob/iob_initialize.c index adab03c228c..b11d2f005c4 100644 --- a/mm/iob/iob_initialize.c +++ b/mm/iob/iob_initialize.c @@ -84,7 +84,7 @@ FAR struct iob_qentry_s *g_iob_freeqlist; /* A list of I/O buffer queue containers that are committed for allocation */ -FAR struct iob_s *g_iob_qcommitted; +FAR struct iob_qentry_s *g_iob_qcommitted; #endif /* Counting semaphores that tracks the number of free IOBs/qentries */