diff options
Diffstat (limited to 'sys/arch/i386/pci/glxpcib.c')
-rw-r--r-- | sys/arch/i386/pci/glxpcib.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/pci/glxpcib.c b/sys/arch/i386/pci/glxpcib.c index ce969ad1310..c1c1dc92e7d 100644 --- a/sys/arch/i386/pci/glxpcib.c +++ b/sys/arch/i386/pci/glxpcib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: glxpcib.c,v 1.11 2010/09/21 12:55:25 deraadt Exp $ */ +/* $OpenBSD: glxpcib.c,v 1.12 2010/09/22 04:24:19 pirofti Exp $ */ /* * Copyright (c) 2007 Marc Balmer <mbalmer@openbsd.org> @@ -261,7 +261,9 @@ glxpcib_attach(struct device *parent, struct device *self, void *aux) int glxpcib_activate(struct device *self, int act) { +#ifndef SMALL_KERNEL struct glxpcib_softc *sc = (struct glxpcib_softc *)self; +#endif int rv = 0; switch (act) { |