summaryrefslogtreecommitdiffstats
path: root/sys/dev/ex
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-01-20 20:06:44 +0000
committerimp <imp@FreeBSD.org>2005-01-20 20:06:44 +0000
commitada7b5238262289220dce1cb98a6f6f79e366706 (patch)
tree31bfac0ae283e340460dce0727637214ab617516 /sys/dev/ex
parent287b204e53fb4f5d32317a8ac290e1909e316ce7 (diff)
downloadFreeBSD-src-ada7b5238262289220dce1cb98a6f6f79e366706.zip
FreeBSD-src-ada7b5238262289220dce1cb98a6f6f79e366706.tar.gz
Include necessary declarations
Diffstat (limited to 'sys/dev/ex')
-rw-r--r--sys/dev/ex/if_ex_pccard.c3
1 files changed, 3 insertions, 0 deletions
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)
OpenPOWER on IntegriCloud