2.4.19-pre3 s390 patch for hwc_con.c

Pete Zaitcev (zaitcev@redhat.com)
Fri, 15 Mar 2002 13:29:16 -0500


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/