From 470dfa1f35400b30a6c147f6914001c720f49914 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Feb 2020 13:49:45 +0100 Subject: config: Resurrect NULL_DRIVER_TABLE_ENTRY This define may be used by application configurations for the CONFIGURE_APPLICATION_EXTRA_DRIVERS definition. Update #3875. --- cpukit/include/rtems/confdefs/iodrivers.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpukit') diff --git a/cpukit/include/rtems/confdefs/iodrivers.h b/cpukit/include/rtems/confdefs/iodrivers.h index aaa027dc0f..1e7b8c4e13 100644 --- a/cpukit/include/rtems/confdefs/iodrivers.h +++ b/cpukit/include/rtems/confdefs/iodrivers.h @@ -93,6 +93,8 @@ #define CONFIGURE_MAXIMUM_DRIVERS #endif +#define NULL_DRIVER_TABLE_ENTRY { NULL, NULL, NULL, NULL, NULL, NULL } + #ifdef __cplusplus extern "C" { #endif @@ -141,7 +143,7 @@ _IO_Driver_address_table[ CONFIGURE_MAXIMUM_DRIVERS ] = { && !defined(CONFIGURE_APPLICATION_NEEDS_ATA_DRIVER) \ && !defined(CONFIGURE_APPLICATION_NEEDS_FRAME_BUFFER_DRIVER) \ && !defined(CONFIGURE_APPLICATION_EXTRA_DRIVERS) ) - { NULL, NULL, NULL, NULL, NULL, NULL } + NULL_DRIVER_TABLE_ENTRY #endif }; -- cgit v1.2.3