ALSA: hda: hda_component: Add missing #include guards
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 7 Mar 2024 11:12:15 +0000 (11:12 +0000)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Mar 2024 16:27:39 +0000 (17:27 +0100)
commit27219a5b3285dffb6e2e1b915a0ccdbf07f9a3a0
tree8c43fc29d4a9b70ddab2ac5bed92d7f6cc0636e1
parentcecc34aeb714df8c61cb5423c3dd4efe14b9c6f9
ALSA: hda: hda_component: Add missing #include guards

Add the conventional include guards around the content of the
hda_component.h header file. This prevents double-declaration of
struct hda_component if the header gets included multiple times.

This isn't causing any problems with current code, so no need to
backport to older kernels.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Message-ID: <20240307111216.45053-1-rf@opensource.cirrus.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_component.h