History

ALSA: hda/core: Add include defining struct hda_device_id

Traditionally all *_device_id were defined in a single header <linux/mod_devicetable.h>. This was split now with the objective that only the relevant bits are included. So including <linux/pci.h> won't be enough to get a definition of (the unrelated to pci) struct hda_device_id. Add an explicit include for the header defining struct hda_device_id to keep working when <linux/pci.h> stops providing this defintion.

Uwe Kleine-König (The Capable Hub) committed 4 months ago

Commit 4e38ddd1 parent e3cda691 file · +1 −0Browse files

Showing the changes to include (1 of 1 file). Show all

Unified · Split

include/sound/hdaudio.h+1−0
@@ -11,6 +11,7 @@ · 10 unmodified lines
1111 #include <linux/io.h>
1212 #include <linux/io-64-nonatomic-lo-hi.h>
1313 #include <linux/iopoll.h>
14+#include <linux/device-id/hda.h>
1415 #include <linux/pci.h>
1516 #include <linux/pm_runtime.h>
1617 #include <linux/timecounter.h>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t