forked from Imagelibrary/rtems
Cleaned up comment.
Modified open so it uses a local variable rather than modifying a parameter.
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
#include <libchip/serial.h>
|
#include <libchip/serial.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Load configuration table
|
* Configuration Information
|
||||||
*/
|
*/
|
||||||
|
|
||||||
extern console_data Console_Port_Data[];
|
extern console_data Console_Port_Data[];
|
||||||
@@ -212,11 +212,12 @@ rtems_device_driver console_control(
|
|||||||
|
|
||||||
rtems_device_driver console_initialize(
|
rtems_device_driver console_initialize(
|
||||||
rtems_device_major_number major,
|
rtems_device_major_number major,
|
||||||
rtems_device_minor_number minor,
|
rtems_device_minor_number minor_arg,
|
||||||
void *arg
|
void *arg
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
rtems_status_code status;
|
rtems_status_code status;
|
||||||
|
rtems_device_minor_number minor;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* initialize the termio interface.
|
* initialize the termio interface.
|
||||||
|
|||||||
Reference in New Issue
Block a user