Skip to content

Commit

Permalink
rename platform_driver name "flash" to "sa1100-mtd"
Browse files Browse the repository at this point in the history
"flash" is a very generic name for a platform_driver that is only
available on SA11x0.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Nicolas Pitre <nico@marvell.com>
  • Loading branch information
Uwe Kleine-König committed Jan 31, 2009
1 parent b3c960b commit bcc8f3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-sa1100/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ static struct platform_device sa11x0pcmcia_device = {
};

static struct platform_device sa11x0mtd_device = {
.name = "flash",
.name = "sa1100-mtd",
.id = -1,
};

Expand Down
4 changes: 2 additions & 2 deletions drivers/mtd/maps/sa1100-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ static struct platform_driver sa1100_mtd_driver = {
.resume = sa1100_mtd_resume,
.shutdown = sa1100_mtd_shutdown,
.driver = {
.name = "flash",
.name = "sa1100-mtd",
.owner = THIS_MODULE,
},
};
Expand All @@ -474,4 +474,4 @@ module_exit(sa1100_mtd_exit);
MODULE_AUTHOR("Nicolas Pitre");
MODULE_DESCRIPTION("SA1100 CFI map driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:flash");
MODULE_ALIAS("platform:sa1100-mtd");

0 comments on commit bcc8f3e

Please sign in to comment.