[rtems commit] libchip/serial: Fix warnings
Sebastian Huber
sebh at rtems.org
Mon Feb 11 13:40:31 UTC 2013
Module: rtems
Branch: master
Commit: 49f65bef3e240a982e1c3b69c202623146a8a60d
Changeset: http://git.rtems.org/rtems/commit/?id=49f65bef3e240a982e1c3b69c202623146a8a60d
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Feb 8 13:42:02 2013 +0100
libchip/serial: Fix warnings
---
c/src/libchip/serial/ns16550.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/c/src/libchip/serial/ns16550.c b/c/src/libchip/serial/ns16550.c
index 3277b7e..7006ac0 100644
--- a/c/src/libchip/serial/ns16550.c
+++ b/c/src/libchip/serial/ns16550.c
@@ -44,6 +44,7 @@
#include <bsp.h>
#include "ns16550_p.h"
+#include "ns16550.h"
#if defined(BSP_FEATURE_IRQ_EXTENSION)
#include <bsp/irq.h>
@@ -442,13 +443,11 @@ NS16550_STATIC int ns16550_set_attributes(
uint8_t ucLineControl;
uint32_t baud_requested;
setRegister_f setReg;
- getRegister_f getReg;
uint32_t Irql;
const console_tbl *c = Console_Port_Tbl [minor];
pNS16550 = c->ulCtrlPort1;
setReg = c->setRegister;
- getReg = c->getRegister;
/*
* Calculate the baud rate divisor
More information about the vc
mailing list