mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][2.6.11] drivers/char/isicom.c gcc4 fix
@ 2005-03-15 13:56 Mikael Pettersson
  0 siblings, 0 replies; only message in thread
From: Mikael Pettersson @ 2005-03-15 13:56 UTC (permalink / raw)
  To: linux-kernel

Fix two array-of-incomplete-type errors from gcc4 in isicom.c.

/Mikael

--- linux-2.6.11/drivers/char/isicom.c.~1~	2005-03-02 19:24:15.000000000 +0100
+++ linux-2.6.11/drivers/char/isicom.c	2005-03-15 11:37:03.000000000 +0100
@@ -151,9 +151,6 @@ MODULE_DEVICE_TABLE(pci, isicom_pci_tbl)
 static int prev_card = 3;	/*	start servicing isi_card[0]	*/
 static struct tty_driver *isicom_normal;
 
-static struct isi_board isi_card[BOARD_COUNT];
-static struct isi_port  isi_ports[PORT_COUNT];
-
 static struct timer_list tx;
 static char re_schedule = 1;
 #ifdef ISICOM_DEBUG
@@ -210,6 +207,9 @@ struct	isi_port {
 	int			xmit_cnt;
 };
 
+static struct isi_board isi_card[BOARD_COUNT];
+static struct isi_port  isi_ports[PORT_COUNT];
+
 /*
  *	Locking functions for card level locking. We need to own both
  *	the kernel lock for the card and have the card in a position that

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-15 13:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-15 13:56 [PATCH][2.6.11] drivers/char/isicom.c gcc4 fix Mikael Pettersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®