From ada7b5238262289220dce1cb98a6f6f79e366706 Mon Sep 17 00:00:00 2001 From: imp Date: Thu, 20 Jan 2005 20:06:44 +0000 Subject: Include necessary declarations --- sys/dev/ex/if_ex_pccard.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/dev/ex/if_ex_pccard.c') diff --git a/sys/dev/ex/if_ex_pccard.c b/sys/dev/ex/if_ex_pccard.c index d0daa92..16b9d20 100644 --- a/sys/dev/ex/if_ex_pccard.c +++ b/sys/dev/ex/if_ex_pccard.c @@ -89,6 +89,9 @@ static int ex_pccard_match(device_t dev) { const struct pccard_product *pp; + int error; + uint32_t fcn = PCCARD_FUNCTION_UNSPEC; + /* Make sure we're a network function */ error = pccard_get_function(dev, &fcn); if (error != 0) -- cgit v1.1