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:
patacongo 2009-02-19 00:07:23 +00:00
parent 7ba1fb4daf
commit f1cd38a52f
1 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
/****************************************************************************
* 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>
*
* 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
****************************************************************************/
struct file_operations g_serialops =
struct file_operations g_consoleops =
{
0, /* open */
0, /* close */
@ -77,7 +77,7 @@ struct file_operations g_serialops =
0, /* seek */
lowconsole_ioctl /* ioctl */
#ifndef CONFIG_DISABLE_POLL
, 0 /* poll */
, 0 /* poll */
#endif
};
@ -128,5 +128,5 @@ static ssize_t lowconsole_write(struct file *filep, const char *buffer, size_t b
void lowconsole_init(void)
{
(void)register_driver("/dev/console", &g_serialops, 0666, NULL);
(void)register_driver("/dev/console", &g_consoleops, 0666, NULL);
}