提交 0230f088 编写于 作者: N Nicholas Mc Guire 提交者: Mark Brown

ASoC: rt5659: declare rt5659_i2c_driver static

Declar rt5659_i2c_driver, which is only being passed to
module_i2c_driver(rt5659_i2c_driver), static.

Fixes: commit d3cb2de2 ("ASoC: rt5659: add rt5659 codec driver")
Signed-off-by: NNicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 11b4ad96
......@@ -4230,7 +4230,7 @@ static struct acpi_device_id rt5659_acpi_match[] = {
MODULE_DEVICE_TABLE(acpi, rt5659_acpi_match);
#endif
struct i2c_driver rt5659_i2c_driver = {
static struct i2c_driver rt5659_i2c_driver = {
.driver = {
.name = "rt5659",
.owner = THIS_MODULE,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册