lkml.org 
[lkml]   [2002]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.4.19-pre3 s390 patch for hwc_con.c
This patch makes hwc_con more resilient to structure layout changes.
It's not _strictly_ necessary, but I would like it to be in.

-- Pete

diff -ur -X dontdiff linux-2.4.19-pre3/drivers/s390/char/hwc_con.c linux-2.4.19-pre3-390/drivers/s390/char/hwc_con.c
--- linux-2.4.19-pre3/drivers/s390/char/hwc_con.c Wed Jul 25 14:12:02 2001
+++ linux-2.4.19-pre3-390/drivers/s390/char/hwc_con.c Fri Mar 15 08:39:17 2002
@@ -31,20 +31,12 @@

#define HWC_CON_PRINT_HEADER "hwc console driver: "

-struct console hwc_console =
-{
-
- hwc_console_name,
- hwc_console_write,
- NULL,
- hwc_console_device,
- NULL,
- hwc_console_unblank,
- NULL,
- CON_PRINTBUFFER,
- 0,
- 0,
- NULL
+struct console hwc_console = {
+ name: hwc_console_name,
+ write: hwc_console_write,
+ device: hwc_console_device,
+ unblank:hwc_console_unblank,
+ flags: CON_PRINTBUFFER,
};

void
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.056 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site