Remove all references to serial
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1515 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
7ba1fb4daf
commit
f1cd38a52f
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* drivers/lowconsole.c
|
* drivers/lowconsole.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -68,7 +68,7 @@ static int lowconsole_ioctl(struct file *filep, int cmd, unsigned long arg);
|
|||||||
* Private Variables
|
* Private Variables
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
struct file_operations g_serialops =
|
struct file_operations g_consoleops =
|
||||||
{
|
{
|
||||||
0, /* open */
|
0, /* open */
|
||||||
0, /* close */
|
0, /* close */
|
||||||
@ -128,5 +128,5 @@ static ssize_t lowconsole_write(struct file *filep, const char *buffer, size_t b
|
|||||||
|
|
||||||
void lowconsole_init(void)
|
void lowconsole_init(void)
|
||||||
{
|
{
|
||||||
(void)register_driver("/dev/console", &g_serialops, 0666, NULL);
|
(void)register_driver("/dev/console", &g_consoleops, 0666, NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user