[PATCH 17/21] bsp/gen5200: Avoid deprecated routine

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Aug 6 07:14:49 UTC 2018


Update #3358.
---
 bsps/powerpc/gen5200/ata/ata-instance.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bsps/powerpc/gen5200/ata/ata-instance.c b/bsps/powerpc/gen5200/ata/ata-instance.c
index b2b26341f6..df753a5e58 100644
--- a/bsps/powerpc/gen5200/ata/ata-instance.c
+++ b/bsps/powerpc/gen5200/ata/ata-instance.c
@@ -17,6 +17,8 @@
 
 #include <libchip/ata.h>
 
+#include <rtems/bdbuf.h>
+
 #include <bsp.h>
 
 static ata_driver_dma_pio_single ata_driver_instance;
@@ -27,7 +29,7 @@ rtems_status_code rtems_ata_initialize(
   void *arg
 )
 {
-  rtems_status_code sc = rtems_disk_io_initialize();
+  rtems_status_code sc = rtems_bdbuf_init();
 
   if (sc == RTEMS_SUCCESSFUL) {
     bestcomm_glue_init();
-- 
2.13.7




More information about the devel mailing list