diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-07-29 00:38:14 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-07-29 00:38:14 +0000 |
commit | acac0e8b42b4a599640c612c08d3336f05f55917 (patch) | |
tree | e5476217287272f3ad068803a968c24c78666e94 /c/src/lib/libbsp | |
parent | Added reference to shared TOD driver. (diff) | |
download | rtems-acac0e8b42b4a599640c612c08d3336f05f55917.tar.bz2 |
Cleaned up comment.
Modified open so it uses a local variable rather than modifying a parameter.
Diffstat (limited to 'c/src/lib/libbsp')
-rw-r--r-- | c/src/lib/libbsp/shared/console.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/shared/console.c b/c/src/lib/libbsp/shared/console.c index 1ca2282720..99f46160ca 100644 --- a/c/src/lib/libbsp/shared/console.c +++ b/c/src/lib/libbsp/shared/console.c @@ -36,7 +36,7 @@ #include <libchip/serial.h> /* - * Load configuration table + * Configuration Information */ extern console_data Console_Port_Data[]; @@ -212,11 +212,12 @@ rtems_device_driver console_control( rtems_device_driver console_initialize( rtems_device_major_number major, - rtems_device_minor_number minor, + rtems_device_minor_number minor_arg, void *arg ) { - rtems_status_code status; + rtems_status_code status; + rtems_device_minor_number minor; /* * initialize the termio interface. @@ -224,7 +225,7 @@ rtems_device_driver console_initialize( rtems_termios_initialize(); - for (minor=0; minor<Console_Port_Count; minor++) { + for (minor=0; minor < Console_Port_Count ; minor++) { /* * First perform the configuration dependent probe, then the * device dependent probe |