diff options
| author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-07-29 11:37:37 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-08-09 07:56:38 +0200 |
| commit | 447b7fdba9e9497f27b845ec069300c91ed5d625 (patch) | |
| tree | efa7c8046db115c52b0dadaa955fd147c3537294 /tools/perf/scripts/python | |
| parent | media: raspberrypi: VIDEO_RASPBERRYPI_PISP_BE should depend on ARCH_BCM2835 (diff) | |
| download | linux-447b7fdba9e9497f27b845ec069300c91ed5d625.tar.gz linux-447b7fdba9e9497f27b845ec069300c91ed5d625.zip | |
media: i2c: tda1997x: constify snd_soc_component_driver struct
`tda1997x_codec_driver` is not modified after its declaration, and it
is only passed to `devm_snd_soc_register_component()`, which expects
a constant `snd_soc_component_driver`.
Move `tda1997x_codec_driver` to a read-only section by declaring it
const.
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
