[PATCH 14/34] arm/csb337/console/fbcons.c: Fix warning

Joel Sherrill joel.sherrill at oarcorp.com
Mon Oct 20 20:34:16 UTC 2014


---
 c/src/lib/libbsp/arm/csb337/console/fbcons.c | 22 ++++------------------
 1 file 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;
-}
-- 
1.9.3




More information about the devel mailing list