summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-06-11 21:33:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-06-11 21:33:43 +0000
commit019c493b86ff35cbda98a0b089f505b107472827 (patch)
treeceffea5d3ebf8adde782e59486f4bd2a50d0b75d /sys/arch/sparc
parentb26bd4f71d8c8e81a9705303fb918ffbf6d0beea (diff)
Repair SUN4M-only case compilation...
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/dev/led.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/led.c b/sys/arch/sparc/dev/led.c
index fffc372acf6..867c14aa543 100644
--- a/sys/arch/sparc/dev/led.c
+++ b/sys/arch/sparc/dev/led.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: led.c,v 1.7 2001/06/10 16:54:42 jason Exp $ */
+/* $OpenBSD: led.c,v 1.8 2001/06/11 21:33:42 miod Exp $ */
/*
* Copyright (c) 1998 Jason L. Wright (jason@thought.net)
@@ -77,8 +77,10 @@ ledmatch(parent, vcf, aux)
struct device *parent;
void *vcf, *aux;
{
-#if defined(SUN4) || defined(SUN4M)
+#if defined(SUN4)
struct cfdata *cf = vcf;
+#endif
+#if defined(SUN4) || defined(SUN4M)
struct confargs *ca = aux;
register struct romaux *ra = &ca->ca_ra;