1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-23 08:35:19 -05:00
linux/sound/hda
Greg Kroah-Hartman 66e82d2199 ALSA: mark all struct bus_type as const
Now that the driver core can properly handle constant struct bus_type,
move all of the sound subsystem struct bus_type structures as const,
placing them into read-only memory which can not be modified at runtime.

Note, this fixes a duplicate definition of ac97_bus_type, which somehow
was declared extern in a .h file, and then static as a prototype in a .c
file, and then properly later on in the same .c file.  Amazing that no
compiler warning ever showed up for this.

Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: Dawei Li <set_pte_at@outlook.com>
Cc: Yu Liao <liaoyu15@huawei.com>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: linux-sound@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/2023121945-immersion-budget-d0aa@gregkh
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-12-30 10:10:41 +01:00
..
ext
array.c
hda_bus_type.c ALSA: mark all struct bus_type as const 2023-12-30 10:10:41 +01:00
hdac_bus.c
hdac_component.c
hdac_controller.c
hdac_device.c ALSA: hda: Drop snd_hdac_calc_stream_format() 2023-11-27 17:28:47 +01:00
hdac_i915.c
hdac_regmap.c
hdac_stream.c
hdac_sysfs.c
hdmi_chmap.c
intel-dsp-config.c ALSA: hda: intel-dspcfg: add filters for ARL-S and ARL 2023-12-07 09:29:03 +01:00
intel-nhlt.c ALSA: hda: intel-nhlt: Ignore vbps when looking for DMIC 32 bps format 2023-11-27 17:20:58 +01:00
intel-sdw-acpi.c
Kconfig
local.h
Makefile
trace.c
trace.h