diff --git a/include/nuttx/mtd/mtd.h b/include/nuttx/mtd/mtd.h index 4db86a0574..b73e2ecd23 100644 --- a/include/nuttx/mtd/mtd.h +++ b/include/nuttx/mtd/mtd.h @@ -332,6 +332,7 @@ FAR struct mtd_dev_s *at45db_initialize(FAR struct spi_dev_s *dev); * ****************************************************************************/ +struct i2c_dev_s; /* Forward reference */ FAR struct mtd_dev_s *at24c_initialize(FAR struct i2c_dev_s *dev); /****************************************************************************