diff options
-rw-r--r-- | drivers/md/md.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index fa500ae9863b..673a39042208 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -714,6 +714,7 @@ static dev_t mddev_alloc_unit(void) return dev; } +#ifndef MODULE static struct mddev *mddev_find(dev_t unit) { struct mddev *mddev; @@ -729,6 +730,7 @@ static struct mddev *mddev_find(dev_t unit) return mddev; } +#endif static struct mddev *mddev_alloc(dev_t unit) { |