diff options
| author | Mark Brown <broonie@kernel.org> | 2025-11-20 19:32:38 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-11-20 19:32:38 +0300 |
| commit | fee6c075d28688b44adc9a4acad6977195ed6e22 (patch) | |
| tree | edd2f0d1b8b3e009acc337f714cce3cc2a023d41 /include/linux | |
| parent | d5089fffe1db04a802b028c2ef4875be1ed452a3 (diff) | |
| parent | 3045e29d248bde2a68da425498a656093ee0df69 (diff) | |
| download | linux-fee6c075d28688b44adc9a4acad6977195ed6e22.tar.xz | |
firmware: cs_dsp: Cleanup debugfs for wmfw and bin
Merge series from Richard Fitzgerald <rf@opensource.cirrus.com>:
These two patches improve the implementation of the debugfs files for
the wmfw and bin file names. First patch removes duplicated code. Second
patch replaces the old clunkiness of storing the filename with an appended
\n. The \n can be appended when the file is read, to keep the stored string
sane.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/firmware/cirrus/cs_dsp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/firmware/cirrus/cs_dsp.h b/include/linux/firmware/cirrus/cs_dsp.h index a66eb7624730..69959032f8f5 100644 --- a/include/linux/firmware/cirrus/cs_dsp.h +++ b/include/linux/firmware/cirrus/cs_dsp.h @@ -188,8 +188,8 @@ struct cs_dsp { #ifdef CONFIG_DEBUG_FS struct dentry *debugfs_root; - char *wmfw_file_name; - char *bin_file_name; + const char *wmfw_file_name; + const char *bin_file_name; #endif }; |
