Thread (2 messages) flat view 2 messages, 2 authors, 2005-08-08

Re: [PATCH] cpm_uart_core.c GCC4.x compilation fix

From: Kumar Gala <hidden>
Date: 2005-08-08 16:59:16

Peter,

Patch looks good.  Can't believe we lost the '=' in the  
initialization.  Will queue this up with a few other CPM_UART related  
patches.

- kumar

On Aug 8, 2005, at 8:57 AM, Schaefer-Hutter, Peter wrote:
quoted hunk ↗ jump to hunk
cpm_uart_core.c: needs some love to compile with GCC4.0.1.

Signed-off-by: Peter Schaefer-Hutter
[off-list ref]
--- a/drivers/serial/cpm_uart/cpm_uart_core.c    2005-08-08
15:49:16.725292392 +0200
+++ b/drivers/serial/cpm_uart/cpm_uart_core.c    2005-08-08
15:33:47.691526992 +0200
@@ -1134,14 +1134,14 @@
     return 0;
 }

-extern struct uart_driver cpm_reg;
+static struct uart_driver cpm_reg;
 static struct console cpm_scc_uart_console = {
-    .name        "ttyCPM",
-    .write        cpm_uart_console_write,
-    .device        uart_console_device,
-    .setup        cpm_uart_console_setup,
-    .flags        CON_PRINTBUFFER,
-    .index        -1,
+    .name        = "ttyCPM",
+    .write        = cpm_uart_console_write,
+    .device        = uart_console_device,
+    .setup        = cpm_uart_console_setup,
+    .flags        = CON_PRINTBUFFER,
+    .index        = -1,
     .data        = &cpm_reg,
 };
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help