summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/raidframe/rf_decluster.c2
-rw-r--r--sys/dev/raidframe/rf_freebsdkintf.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_decluster.c b/sys/dev/raidframe/rf_decluster.c
index 147cfd0..646a5ad 100644
--- a/sys/dev/raidframe/rf_decluster.c
+++ b/sys/dev/raidframe/rf_decluster.c
@@ -66,7 +66,7 @@ __FBSDID("$FreeBSD$");
extern int rf_copyback_in_progress; /* debug only */
/* found in rf_kintf.c */
-int rf_GetSpareTableFromDaemon(RF_SparetWait_t * req);
+extern int rf_GetSpareTableFromDaemon(RF_SparetWait_t * req);
#if (RF_INCLUDE_PARITY_DECLUSTERING > 0) || (RF_INCLUDE_PARITY_DECLUSTERING_PQ > 0)
diff --git a/sys/dev/raidframe/rf_freebsdkintf.c b/sys/dev/raidframe/rf_freebsdkintf.c
index d391fcd..d4646aa 100644
--- a/sys/dev/raidframe/rf_freebsdkintf.c
+++ b/sys/dev/raidframe/rf_freebsdkintf.c
@@ -219,7 +219,6 @@ static struct cdevsw raidctl_cdevsw = {
.d_close = raidctlclose,
.d_ioctl = raidctlioctl,
.d_name = "raidctl",
- .d_maj = 201,
};
/*
OpenPOWER on IntegriCloud