Commit b9960f6e authored by Curtis Malainey's avatar Curtis Malainey Committed by Mark Brown

ASoC: rt5677-spi: Rename driver to differentiate from main codec

Currently the SPI driver and the main codec share the same name. This
will become confusing when looking up components when using both
drivers.
Signed-off-by: default avatarCurtis Malainey <cujomalainey@chromium.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 53fdea96
...@@ -29,6 +29,8 @@ ...@@ -29,6 +29,8 @@
#include "rt5677-spi.h" #include "rt5677-spi.h"
#define DRV_NAME "rt5677spi"
#define RT5677_SPI_BURST_LEN 240 #define RT5677_SPI_BURST_LEN 240
#define RT5677_SPI_HEADER 5 #define RT5677_SPI_HEADER 5
#define RT5677_SPI_FREQ 6000000 #define RT5677_SPI_FREQ 6000000
...@@ -235,7 +237,7 @@ MODULE_DEVICE_TABLE(acpi, rt5677_spi_acpi_id); ...@@ -235,7 +237,7 @@ MODULE_DEVICE_TABLE(acpi, rt5677_spi_acpi_id);
static struct spi_driver rt5677_spi_driver = { static struct spi_driver rt5677_spi_driver = {
.driver = { .driver = {
.name = "rt5677", .name = DRV_NAME,
.acpi_match_table = ACPI_PTR(rt5677_spi_acpi_id), .acpi_match_table = ACPI_PTR(rt5677_spi_acpi_id),
}, },
.probe = rt5677_spi_probe, .probe = rt5677_spi_probe,
......
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