summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a2e3a862541a..031d7fa93b31 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 beac7bf1e135..a6a4152d259d 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;