lkml.org 
[lkml]   [2011]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] mtd: provide an alias for the redboot module name
From
Date
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@queued.net>
> Cc: stable@kernel.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



\
 
 \ /
  Last update: 2011-10-16 14:05    [W:2.007 / U:1.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site