Commit 577c1e0
platform/x86: Use i2c adapter name to fix build errors
Use adapater->name inplace of adapter->owner->name to fix
build issues when CONFIG_MODULES is not defined.
Fixes: 90b8556 ("platform/x86: Add AMD ISP platform config for OV05C10")
Reported-by: Randy Dunlap <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Tested-by: Randy Dunlap <[email protected]>
Signed-off-by: Pratap Nirujogi <[email protected]>
Requires: 942e1ae ("i2c: designware: Initialize adapter name only when not set"
Requires: c8dc579 ("i2c: amd-isp: Initialize unique adapter name")
Acked-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent c8dc579 commit 577c1e0
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
154 | | - | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| |||
0 commit comments