All of lore.kernel.org
 help / color / mirror / Atom feed
* [sparc32] [3/4] sunsu.c serio #ifdef crud
@ 2004-12-21 11:41 William Lee Irwin III
  0 siblings, 0 replies; only message in thread
From: William Lee Irwin III @ 2004-12-21 11:41 UTC (permalink / raw)
  To: sparclinux

The variable serio is only used in code conditional on CONFIG_SERIO.

Index: sparc32-2.6.10-rc3/drivers/serial/sunsu.c
=================================--- sparc32-2.6.10-rc3.orig/drivers/serial/sunsu.c	2004-12-16 06:19:49.000000000 -0800
+++ sparc32-2.6.10-rc3/drivers/serial/sunsu.c	2004-12-21 03:24:30.676490386 -0800
@@ -1285,7 +1285,9 @@
 
 static int __init sunsu_kbd_ms_init(struct uart_sunsu_port *up, int channel)
 {
+#ifdef CONFIG_SERIO
 	struct serio *serio;
+#endif
 
 	up->port.line = channel;
 	up->port.type = PORT_UNKNOWN;

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

only message in thread, other threads:[~2004-12-21 11:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-21 11:41 [sparc32] [3/4] sunsu.c serio #ifdef crud William Lee Irwin III

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.