Re: [RFC 04/11] remove CONFIG_KMOD from drivers

From: Adrian Bunk
Date: Tue Jul 08 2008 - 14:31:30 EST


On Tue, Jul 08, 2008 at 07:00:19PM +0200, Johannes Berg wrote:
>...
> --- everything.orig/drivers/md/md.c 2008-07-08 18:46:21.000000000 +0200
> +++ everything/drivers/md/md.c 2008-07-08 18:49:10.000000000 +0200
>...
> @@ -3410,7 +3405,7 @@ static int do_md_run(mddev_t * mddev)
> }
> }
>
> -#ifdef CONFIG_KMOD
> +#ifdef CONFIG_MODULES
> if (mddev->level != LEVEL_NONE)
> request_module("md-level-%d", mddev->level);
> else if (mddev->clevel[0])
>...

You can remove the #ifdef

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/