Commit bcc8f3e0 authored by Uwe Kleine-König's avatar Uwe Kleine-König

rename platform_driver name "flash" to "sa1100-mtd"

"flash" is a very generic name for a platform_driver that is only
available on SA11x0.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Nicolas Pitre <nico@marvell.com>
parent b3c960b2
...@@ -289,7 +289,7 @@ static struct platform_device sa11x0pcmcia_device = { ...@@ -289,7 +289,7 @@ static struct platform_device sa11x0pcmcia_device = {
}; };
static struct platform_device sa11x0mtd_device = { static struct platform_device sa11x0mtd_device = {
.name = "flash", .name = "sa1100-mtd",
.id = -1, .id = -1,
}; };
......
...@@ -453,7 +453,7 @@ static struct platform_driver sa1100_mtd_driver = { ...@@ -453,7 +453,7 @@ static struct platform_driver sa1100_mtd_driver = {
.resume = sa1100_mtd_resume, .resume = sa1100_mtd_resume,
.shutdown = sa1100_mtd_shutdown, .shutdown = sa1100_mtd_shutdown,
.driver = { .driver = {
.name = "flash", .name = "sa1100-mtd",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
}; };
...@@ -474,4 +474,4 @@ module_exit(sa1100_mtd_exit); ...@@ -474,4 +474,4 @@ module_exit(sa1100_mtd_exit);
MODULE_AUTHOR("Nicolas Pitre"); MODULE_AUTHOR("Nicolas Pitre");
MODULE_DESCRIPTION("SA1100 CFI map driver"); MODULE_DESCRIPTION("SA1100 CFI map driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:flash"); MODULE_ALIAS("platform:sa1100-mtd");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment