Commit b7c9c90
Alain Volmat
video: stm32: dcmipp: remove const for clock structs
Remove the const attribute of the struct stm32_pclken
in the struct stm32_dcmipp_config since this leads to
warnings due to losing the const pointer when calling
the clock_control functions.
Casts done when calling the clock_control_on functions
were also wrong hence fix this.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>1 parent ba35846 commit b7c9c90
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
| 110 | + | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
1597 | 1597 | | |
1598 | 1598 | | |
1599 | 1599 | | |
1600 | | - | |
| 1600 | + | |
1601 | 1601 | | |
1602 | 1602 | | |
1603 | 1603 | | |
1604 | 1604 | | |
1605 | 1605 | | |
1606 | 1606 | | |
1607 | 1607 | | |
1608 | | - | |
| 1608 | + | |
1609 | 1609 | | |
1610 | 1610 | | |
1611 | 1611 | | |
| |||
0 commit comments