summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-10-20 11:46:34 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-10-20 11:46:34 +0000
commit94955806230397bb8292b88f386f292491e6ac9b (patch)
tree0e7c0ff1c56b0f645a5abdc8e87f2d5d5a8a416e /c
parent2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-94955806230397bb8292b88f386f292491e6ac9b.tar.bz2
2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1940/misc: * libchip/serial/ns16550.c: Reflect changes to console-driver.
Diffstat (limited to 'c')
-rw-r--r--c/src/ChangeLog5
-rw-r--r--c/src/libchip/serial/ns16550.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/c/src/ChangeLog b/c/src/ChangeLog
index 780dcfb5a8..e991033c82 100644
--- a/c/src/ChangeLog
+++ b/c/src/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ PR 1940/misc:
+ * libchip/serial/ns16550.c: Reflect changes to console-driver.
+
2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/smc91111.c: Use PRIxPTR to print pointers.
diff --git a/c/src/libchip/serial/ns16550.c b/c/src/libchip/serial/ns16550.c
index 5ea50bda61..069a4cdfad 100644
--- a/c/src/libchip/serial/ns16550.c
+++ b/c/src/libchip/serial/ns16550.c
@@ -203,7 +203,7 @@ NS16550_STATIC int ns16550_close(
void * arg
)
{
- console_tbl *c = &Console_Port_Tbl [minor];
+ console_tbl *c = Console_Port_Tbl [minor];
/*
* Negate DTR
@@ -601,7 +601,7 @@ NS16550_STATIC void ns16550_enable_interrupts(
NS16550_STATIC void ns16550_initialize_interrupts( int minor)
{
#if defined(BSP_FEATURE_IRQ_EXTENSION) || defined(BSP_FEATURE_IRQ_LEGACY)
- console_tbl *c = &Console_Port_Tbl [minor];
+ console_tbl *c = Console_Port_Tbl [minor];
#endif
console_data *d = &Console_Port_Data [minor];
@@ -661,7 +661,7 @@ NS16550_STATIC void ns16550_cleanup_interrupts(int minor)
{
#if defined(BSP_FEATURE_IRQ_EXTENSION)
rtems_status_code sc = RTEMS_SUCCESSFUL;
- console_tbl *c = &Console_Port_Tbl [minor];
+ console_tbl *c = Console_Port_Tbl [minor];
sc = rtems_interrupt_handler_remove(
c->ulIntVector,
ns16550_isr,
@@ -674,7 +674,7 @@ NS16550_STATIC void ns16550_cleanup_interrupts(int minor)
}
#elif defined(BSP_FEATURE_IRQ_LEGACY)
int rv = 0;
- console_tbl *c = &Console_Port_Tbl [minor];
+ console_tbl *c = Console_Port_Tbl [minor];
rtems_irq_connect_data cd = {
.name = c->ulIntVector,
.hdl = ns16550_isr,