diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-01-12 08:02:32 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-13 11:16:16 +0100 |
commit | 5a33d30ff1b8fdfb5bd8f4fa46dd473bf768aeff (patch) | |
tree | 07107f41270070358f0ffdc267a0937538ed8a0c /drivers/spi | |
parent | spi: ti-qspi: Simplify qspi_write_msg and qspi_read_msg implementation (diff) | |
download | linux-5a33d30ff1b8fdfb5bd8f4fa46dd473bf768aeff.tar.xz linux-5a33d30ff1b8fdfb5bd8f4fa46dd473bf768aeff.zip |
spi: ti-qspi: Fixup driver name
The driver name in current code looks like a compatible string which is not
the naming convention for platform drivers.
Fix it and also add modalias since this driver can be built as a module.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-ti-qspi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spi/spi-ti-qspi.c b/drivers/spi/spi-ti-qspi.c index a850b403b51b..251e43f72dbb 100644 --- a/drivers/spi/spi-ti-qspi.c +++ b/drivers/spi/spi-ti-qspi.c @@ -560,7 +560,7 @@ static struct platform_driver ti_qspi_driver = { .probe = ti_qspi_probe, .remove = ti_qspi_remove, .driver = { - .name = "ti,dra7xxx-qspi", + .name = "ti-qspi", .owner = THIS_MODULE, .pm = &ti_qspi_pm_ops, .of_match_table = ti_qspi_match, @@ -572,3 +572,4 @@ module_platform_driver(ti_qspi_driver); MODULE_AUTHOR("Sourav Poddar <sourav.poddar@ti.com>"); MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("TI QSPI controller driver"); +MODULE_ALIAS("platform:ti-qspi"); |