summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/src/ioregisterdriver.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2007-12-12 10:10:38 +0000
committerChris Johns <chrisj@rtems.org>2007-12-12 10:10:38 +0000
commit06bd7c74b111323995ebd9167f472b610e46b551 (patch)
tree77f3741e7208882f1e21484eca0dd103767f094c /cpukit/sapi/src/ioregisterdriver.c
parent2007-12-11 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-06bd7c74b111323995ebd9167f472b610e46b551.tar.bz2
2007-12-12 Chris Johns <chrisj@rtems.org>
* Makefile.am: Added libmisc/shell/shellconfig.h to the installed header list. * libmisc/shell/shell_cmdset.c: Let the Initial command add occur in any order rather than before any commands have been added. Also made the command's strings be copies rather than references. * sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
Diffstat (limited to 'cpukit/sapi/src/ioregisterdriver.c')
-rw-r--r--cpukit/sapi/src/ioregisterdriver.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/sapi/src/ioregisterdriver.c b/cpukit/sapi/src/ioregisterdriver.c
index 45d5ffe97b..4c57e3fbf7 100644
--- a/cpukit/sapi/src/ioregisterdriver.c
+++ b/cpukit/sapi/src/ioregisterdriver.c
@@ -88,7 +88,5 @@ rtems_status_code rtems_io_register_driver(
_IO_Driver_address_table[major] = *driver_table;
*registered_major = major;
- rtems_io_initialize( major, 0, NULL );
-
- return RTEMS_SUCCESSFUL;
+ return rtems_io_initialize( major, 0, NULL );
}