Commit ed783ab
rockchip64-6.18: typec dp extcon: fix clang -Wincompatible-pointer-types-discards-qualifiers
extcon_get_edev_by_phandle() takes struct device * (non-const), but
the patch declared the local as const struct device *. Drop the const:
&dp->alt->dev is a non-const pointer anyway, and the 7.1/7.2 copies of
this patch already use the non-const form.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 9e7eae8 commit ed783ab
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- patch/kernel/archive/rockchip64-6.18
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments