Resurrect "dev" variable from atppc_sc_attach() removed in rev 1.4
(#ifdef ATPPC_DEBUG), so that this compiles with the option set Fixes PR kern/24193 by Paul Shupak
This commit is contained in:
parent
e17503e59e
commit
83ee4751e2
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: atppc.c,v 1.5 2004/01/22 14:22:20 jdolecek Exp $ */
|
||||
/* $NetBSD: atppc.c,v 1.6 2004/01/22 14:28:57 jdolecek Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Alcove - Nicolas Souchu
|
||||
|
@ -149,6 +149,9 @@ atppc_sc_attach(struct atppc_softc * lsc)
|
|||
{
|
||||
/* Adapter used to configure ppbus device */
|
||||
struct parport_adapter sc_parport_adapter;
|
||||
#ifdef ATPPC_DEBUG
|
||||
struct device * dev = (struct device *) lsc;
|
||||
#endif
|
||||
#ifdef ATPPC_VERBOSE
|
||||
char buf[64];
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue