forked from Imagelibrary/rtems
2011-03-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* console.c: Make device file optional.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2011-03-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
|
* console.c: Make device file optional.
|
||||||
|
|
||||||
2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
|
2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
|
||||||
|
|
||||||
PR 1729/cpukit
|
PR 1729/cpukit
|
||||||
|
|||||||
@@ -242,9 +242,11 @@ rtems_device_driver console_initialize(
|
|||||||
rtems_fatal_error_occurred(sc);
|
rtems_fatal_error_occurred(sc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sc = rtems_io_register_name(device->sDeviceName, major, minor);
|
if (device->sDeviceName != NULL) {
|
||||||
if (sc != RTEMS_SUCCESSFUL) {
|
sc = rtems_io_register_name(device->sDeviceName, major, minor);
|
||||||
rtems_fatal_error_occurred(sc);
|
if (sc != RTEMS_SUCCESSFUL) {
|
||||||
|
rtems_fatal_error_occurred(sc);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user