summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/confdefs/iodrivers.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/confdefs/iodrivers.h')
-rw-r--r--cpukit/include/rtems/confdefs/iodrivers.h4
1 files changed, 3 insertions, 1 deletions
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
};