Commit 9fbddb9
committed
overlays: Give a deprecation warning for dwc-otg
The overlay deprecation feature does not give any advance warnings,
just a more user-friendly error message; it's more termination than
deprecation.
Abuse the overlay rename feature to cause a warning message to be
displayed when dwc-otg is loaded:
dtwarn: overlay 'dwc-otg' has been renamed 'dwc-otg-deprecated'
Signed-off-by: Phil Elwell <[email protected]>1 parent 11919d5 commit 9fbddb9
File tree
4 files changed
+12
-5
lines changed- arch/arm/boot/dts/overlays
4 files changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1246 | 1246 | | |
1247 | 1247 | | |
1248 | 1248 | | |
1249 | | - | |
1250 | | - | |
1251 | | - | |
1252 | | - | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
1253 | 1256 | | |
1254 | 1257 | | |
1255 | 1258 | | |
| |||
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| |||
0 commit comments