diff --git a/drivers/mmcsd/sdio.c b/drivers/mmcsd/sdio.c index 4550f97b92..bca78082f5 100644 --- a/drivers/mmcsd/sdio.c +++ b/drivers/mmcsd/sdio.c @@ -130,7 +130,7 @@ static int sdio_sendcmdpoll(FAR struct sdio_dev_s *dev, int sdio_io_rw_direct(FAR struct sdio_dev_s *dev, bool write, uint8_t function, uint32_t address, - uint8_t inb, uint8_t *outb) + uint8_t inb, FAR uint8_t *outb) { union sdio_cmd5x arg; struct sdio_resp_r5 resp; @@ -194,7 +194,7 @@ int sdio_io_rw_direct(FAR struct sdio_dev_s *dev, bool write, int sdio_io_rw_extended(FAR struct sdio_dev_s *dev, bool write, uint8_t function, uint32_t address, - bool inc_addr, uint8_t *buf, + bool inc_addr, FAR uint8_t *buf, unsigned int blocklen, unsigned int nblocks) { union sdio_cmd5x arg; @@ -308,7 +308,7 @@ int sdio_io_rw_extended(FAR struct sdio_dev_s *dev, bool write, return OK; } -int sdio_set_wide_bus(struct sdio_dev_s *dev) +int sdio_set_wide_bus(FAR struct sdio_dev_s *dev) { int ret; uint8_t value; diff --git a/include/nuttx/sdio.h b/include/nuttx/sdio.h index af3f3692be..b2a928e4be 100644 --- a/include/nuttx/sdio.h +++ b/include/nuttx/sdio.h @@ -1035,7 +1035,7 @@ struct sdio_dev_s int sdio_probe(FAR struct sdio_dev_s *dev); -int sdio_set_wide_bus(struct sdio_dev_s *dev); +int sdio_set_wide_bus(FAR struct sdio_dev_s *dev); int sdio_set_blocksize(FAR struct sdio_dev_s *dev, uint8_t function, uint16_t blocksize); @@ -1046,11 +1046,11 @@ int sdio_enable_interrupt(FAR struct sdio_dev_s *dev, uint8_t function); int sdio_io_rw_direct(FAR struct sdio_dev_s *dev, bool write, uint8_t function, uint32_t address, - uint8_t inb, uint8_t *outb); + uint8_t inb, FAR uint8_t *outb); int sdio_io_rw_extended(FAR struct sdio_dev_s *dev, bool write, uint8_t function, uint32_t address, - bool inc_addr, uint8_t *buf, + bool inc_addr, FAR uint8_t *buf, unsigned int blocklen, unsigned int nblocks); #undef EXTERN