From f1cd38a52f6198d094c31d39d01f9e2dcc60fe27 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 19 Feb 2009 00:07:23 +0000 Subject: [PATCH] Remove all references to serial git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1515 42af7a65-404d-4744-a932-0658087f49c3 --- drivers/lowconsole.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/lowconsole.c b/drivers/lowconsole.c index d1f02ca9de..c89183cd21 100755 --- a/drivers/lowconsole.c +++ b/drivers/lowconsole.c @@ -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 * * 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); }