[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1318766597.2935.20.camel@sauron>
Date: Sun, 16 Oct 2011 15:03:13 +0300
From: Artem Bityutskiy <dedekind1@...il.com>
To: Andres Salomon <dilinger@...ued.net>
Cc: David Woodhouse <dwmw2@...radead.org>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] mtd: provide an alias for the redboot module name
On Fri, 2011-10-14 at 07:33 -0700, Andres Salomon wrote:
> parse_mtd_partitions takes a list of partition types; if the driver
> isn't loaded, it attempts to load it, and then it grabs the partition
> parser. For redboot, the module name is "redboot.ko", while the parser
> name is "RedBoot". Since modprobe is case-sensitive, attempting to
> modprobe "RedBoot" will never work. I suspect the embedded systems that
> make use of redboot just always manually loaded redboot prior to loading
> their specific nand chip drivers (or statically compiled it in).
>
> Signed-off-by: Andres Salomon <dilinger@...ued.net>
> Cc: stable@...nel.org
> ---
> drivers/mtd/redboot.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> v2: instead of renaming the module, use a module_alias. Duh. Thanks,
> Artem Bityutskiy!
Pushed to l2-mtd-2.6.git, thanks!
--
Best Regards,
Artem Bityutskiy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists