24 Jun
2019
24 Jun
'19
4:27 p.m.
On Mon, Jun 24, 2019 at 09:08:00PM +0800, derek.fang@realtek.com wrote:
+static struct i2c_driver rt1308_i2c_driver = {
- .driver = {
.name = "rt1308",
.owner = THIS_MODULE,
+#if defined(CONFIG_OF)
.of_match_table = rt1308_of_match,
+#endif
As I said last time this should be using of_match_ptr().