]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mtd: provide an alias for the redboot module name
authorAndres Salomon <dilinger@queued.net>
Fri, 14 Oct 2011 14:33:20 +0000 (07:33 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:18:16 +0000 (11:18 -0800)
commit3c38a81628ab6b837d4fb250cba4fa5ee8c0391b
tree066190663c374bab8c7299983806f60c621a4405
parent5f3bf6bdb6576182ca5ea116f2090fbd01760f8e
mtd: provide an alias for the redboot module name

commit d5de1907d0af22e1a02de2b16a624148517a39c2 upstream.

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>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mtd/redboot.c