summaryrefslogtreecommitdiffstats
path: root/sound/oss/sound_firmware.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss/sound_firmware.h')
-rw-r--r--sound/oss/sound_firmware.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/oss/sound_firmware.h b/sound/oss/sound_firmware.h
index da4c67e005ed..ebcbded0e8c2 100644
--- a/sound/oss/sound_firmware.h
+++ b/sound/oss/sound_firmware.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <linux/fs.h>
/**
@@ -21,7 +22,7 @@ static inline int mod_firmware_load(const char *fn, char **fp)
loff_t size;
int err;
- err = kernel_read_file_from_path((char *)fn, (void **)fp, &size,
+ err = kernel_read_file_from_path(fn, (void **)fp, &size,
131072, READING_FIRMWARE);
if (err < 0)
return 0;
OpenPOWER on IntegriCloud