projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e92913
)
ASoC: da7219: Use of_match_ptr() when assigning match table
author
Adam Thomson
<Adam.Thomson.Opensource@diasemi.com>
Wed, 7 Oct 2015 10:57:12 +0000
(11:57 +0100)
committer
Mark Brown
<broonie@kernel.org>
Wed, 7 Oct 2015 11:15:22 +0000
(12:15 +0100)
Use of_match_ptr() to handle non-DT kernel scenario where match
table should be NULL.
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7219.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/da7219.c
b/sound/soc/codecs/da7219.c
index c86a83305fb78de18d3bea4a6cb3ca9ddb6b1f1e..adcc079ef801cebfd737aaac7379f8b649517370 100644
(file)
--- a/
sound/soc/codecs/da7219.c
+++ b/
sound/soc/codecs/da7219.c
@@
-1932,7
+1932,7
@@
MODULE_DEVICE_TABLE(i2c, da7219_i2c_id);
static struct i2c_driver da7219_i2c_driver = {
.driver = {
.name = "da7219",
- .of_match_table =
da7219_of_match
,
+ .of_match_table =
of_match_ptr(da7219_of_match)
,
},
.probe = da7219_i2c_probe,
.remove = da7219_i2c_remove,