[rtems commit] libchip/ata: Fix ATA_DRIVER_TABLE_ENTRY

Sebastian Huber sebh at rtems.org
Thu Sep 6 05:05:04 UTC 2018


Module:    rtems
Branch:    master
Commit:    ccdce9d8f6c38748747a1346d3a42683fa5c9328
Changeset: http://git.rtems.org/rtems/commit/?id=ccdce9d8f6c38748747a1346d3a42683fa5c9328

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Sep  5 07:31:23 2018 +0200

libchip/ata: Fix ATA_DRIVER_TABLE_ENTRY

Drop unused and deprecated functions from the ATA_DRIVER_TABLE_ENTRY.

Update #3358.
Close #3510.

---

 bsps/include/libchip/ata.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/include/libchip/ata.h b/bsps/include/libchip/ata.h
index 66cc467..635d1f0 100644
--- a/bsps/include/libchip/ata.h
+++ b/bsps/include/libchip/ata.h
@@ -29,7 +29,7 @@ rtems_device_driver rtems_ata_initialize(
         void *args);
 
 #define ATA_DRIVER_TABLE_ENTRY \
-    {rtems_ata_initialize, RTEMS_GENERIC_BLOCK_DEVICE_DRIVER_ENTRIES}
+  { rtems_ata_initialize, NULL, NULL, NULL, NULL, NULL }
 
 /* ATA IOCTL request codes */
 #define ATAIO_SET_MULTIPLE_MODE          _IO('A', 1)




More information about the vc mailing list