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

Unified · Split

include/sound/hdaudio.h+1−0
@@ -11,6 +11,7 @@ · 10 unmodified lines
11#include <linux/io.h>11#include <linux/io.h>
12#include <linux/io-64-nonatomic-lo-hi.h>12#include <linux/io-64-nonatomic-lo-hi.h>
13#include <linux/iopoll.h>13#include <linux/iopoll.h>
14#include <linux/device-id/hda.h>
14#include <linux/pci.h>15#include <linux/pci.h>
15#include <linux/pm_runtime.h>16#include <linux/pm_runtime.h>
16#include <linux/timecounter.h>17#include <linux/timecounter.h>