aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ex
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2005-01-20 20:06:44 +0000
committerWarner Losh <imp@FreeBSD.org>2005-01-20 20:06:44 +0000
commit4a17d9141c3c4643374ce4cfcbeb691bfd082f6d (patch)
tree31bfac0ae283e340460dce0727637214ab617516 /sys/dev/ex
parent9273a2b597ca65ac44bbb7bbeefdec5ccca9e848 (diff)
downloadsrc-4a17d9141c3c4643374ce4cfcbeb691bfd082f6d.tar.gz
src-4a17d9141c3c4643374ce4cfcbeb691bfd082f6d.zip
Include necessary declarations
Notes
Notes: svn path=/head/; revision=140527
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 d0daa92fd21c..16b9d2045f9e 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)