[PATCH 05/23] sapi: Use rtems_conf*_get_number_of_device_drivers

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Nov 6 12:56:27 UTC 2012


---
 cpukit/sapi/src/io.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpukit/sapi/src/io.c b/cpukit/sapi/src/io.c
index 679bae5..82448b8 100644
--- a/cpukit/sapi/src/io.c
+++ b/cpukit/sapi/src/io.c
@@ -39,7 +39,7 @@ void _IO_Manager_initialization(void)
   uint32_t                    number_of_drivers;
 
   driver_table      = Configuration.Device_driver_table;
-  drivers_in_table  = Configuration.number_of_device_drivers;
+  drivers_in_table  = rtems_configuration_get_number_of_device_drivers();
   number_of_drivers = rtems_configuration_get_maximum_drivers();
 
   /*
-- 
1.7.7




More information about the devel mailing list