diff --git a/sys/dev/mpi3mr/mpi3mr_app.c b/sys/dev/mpi3mr/mpi3mr_app.c index 0cf25b96828..901bc88eb41 100644 --- a/sys/dev/mpi3mr/mpi3mr_app.c +++ b/sys/dev/mpi3mr/mpi3mr_app.c @@ -67,6 +67,8 @@ static struct cdevsw mpi3mr_cdevsw = { .d_name = "mpi3mr", }; +static struct mpi3mr_mgmt_info mpi3mr_mgmt_info; + static int mpi3mr_open(struct cdev *dev, int flags, int fmt, struct thread *td) { diff --git a/sys/dev/mpi3mr/mpi3mr_app.h b/sys/dev/mpi3mr/mpi3mr_app.h index fa52db05100..733aeb0ae53 100644 --- a/sys/dev/mpi3mr/mpi3mr_app.h +++ b/sys/dev/mpi3mr/mpi3mr_app.h @@ -75,7 +75,6 @@ int mpi3mr_app_attach(struct mpi3mr_softc *); void mpi3mr_app_detach(struct mpi3mr_softc *); -static struct mpi3mr_mgmt_info mpi3mr_mgmt_info; enum mpi3mr_ioctl_adp_state { MPI3MR_IOCTL_ADP_STATE_UNKNOWN = 0,