[rtems commit] arm/csb337/console/fbcons.c: Fix warning

Joel Sherrill joel at rtems.org
Tue Oct 21 14:36:31 UTC 2014


Module:    rtems
Branch:    master
Commit:    770e3797c54c7492ace7cd99b1263afbfb01180b
Changeset: http://git.rtems.org/rtems/commit/?id=770e3797c54c7492ace7cd99b1263afbfb01180b

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Mon Oct 20 09:15:32 2014 -0500

arm/csb337/console/fbcons.c: Fix warning

---

 c/src/lib/libbsp/arm/csb337/console/fbcons.c |   22 ++++------------------
 1 files changed, 4 insertions(+), 18 deletions(-)

diff --git a/c/src/lib/libbsp/arm/csb337/console/fbcons.c b/c/src/lib/libbsp/arm/csb337/console/fbcons.c
index 87067ca..62e8409 100644
--- a/c/src/lib/libbsp/arm/csb337/console/fbcons.c
+++ b/c/src/lib/libbsp/arm/csb337/console/fbcons.c
@@ -1,7 +1,9 @@
 /*
  *  LCD Console Output Driver for CSBx37
- *
- *  COPYRIGHT (c) 1989-2009.
+ */
+
+/*
+ *  COPYRIGHT (c) 1989-2014.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  Modified by Fernando Nicodemos <fgnicodemos at terra.com.br>
@@ -121,19 +123,3 @@ static int fbcons_set_attributes(int minor, const struct termios *t)
   /* printk( "frame buffer -- set attributes\n" ); */
   return 0;
 }
-
-/***********************************************************************/
-/*
- * The following functions are not used by TERMIOS, but other RTEMS
- * functions use them instead.
- */
-/***********************************************************************/
-/*
- * Read from UART. This is used in the exit code, and can't
- * rely on interrupts.
- */
-int fbcons_poll_read(int minor)
-{
-  /* printk( "frame buffer -- poll read\n" ); */
-  return -1;
-}



More information about the vc mailing list