[PATCH 1/3] libchip/ata: Fix ATA_DRIVER_TABLE_ENTRY

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Sep 5 05:48:59 UTC 2018


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 66cc46747d..635d1f0a7d 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)
-- 
2.13.7



More information about the devel mailing list