summaryrefslogtreecommitdiffstats
path: root/sys/pccard
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2002-01-08 19:35:27 +0000
committermsmith <msmith@FreeBSD.org>2002-01-08 19:35:27 +0000
commit2e4f2ddc4e8e2de76c80bd78b600d4181564e546 (patch)
tree8645a3c522fdc2a1a3de2f0295a611e070f4e069 /sys/pccard
parent2ea851671c5876467c5f8aab7fa634a8088d4504 (diff)
downloadFreeBSD-src-2e4f2ddc4e8e2de76c80bd78b600d4181564e546.zip
FreeBSD-src-2e4f2ddc4e8e2de76c80bd78b600d4181564e546.tar.gz
Avoid doubly defining machdep.pccard
Diffstat (limited to 'sys/pccard')
-rw-r--r--sys/pccard/pccard.c2
-rw-r--r--sys/pccard/pccard_nbk.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c
index a2e3a86..031d7fa 100644
--- a/sys/pccard/pccard.c
+++ b/sys/pccard/pccard.c
@@ -58,8 +58,6 @@
#define suser_td(a) suser(a)
#endif
-SYSCTL_NODE(_machdep, OID_AUTO, pccard, CTLFLAG_RW, 0, "pccard");
-
/* The following might now be obsolete */
static int pcic_resume_reset = 1;
diff --git a/sys/pccard/pccard_nbk.h b/sys/pccard/pccard_nbk.h
index beac7bf..a6a4152 100644
--- a/sys/pccard/pccard_nbk.h
+++ b/sys/pccard/pccard_nbk.h
@@ -28,6 +28,8 @@
#ifndef PCCARD_PCCARD_NBK_H
#define PCCARD_PCCARD_NBK_H
+SYSCTL_DECL(_machdep_pccard);
+
struct pccard_device;
extern devclass_t pccard_devclass;
OpenPOWER on IntegriCloud