~ubuntu-audio-dev/alsa-driver/dkms-packaging

« back to all changes in this revision

Viewing changes to patches-trusty/add_PCI_CLASS_MULTIMEDIA_HD_AUDIO.patch

  • Committer: Hui Wang
  • Date: 2018-04-18 05:34:10 UTC
  • Revision ID: hui.wang@canonical.com-20180418053410-vqu7wwgk83v6pxso
fix building error introduced by PCI_CLASS_MULTIMEDIA_HD_AUDIO

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: oem-audio-hda-daily-0.1/hda_intel.c
 
2
===================================================================
 
3
--- oem-audio-hda-daily-0.1.orig/hda_intel.c
 
4
+++ oem-audio-hda-daily-0.1/hda_intel.c
 
5
@@ -80,6 +80,8 @@ enum {
 
6
        POS_FIX_SKL,
 
7
 };
 
8
 
 
9
+#define PCI_CLASS_MULTIMEDIA_HD_AUDIO  0x0403 /* it is defined in include/linux/pci_ids.h */
 
10
+
 
11
 /* Defines for ATI HD Audio support in SB450 south bridge */
 
12
 #define ATI_SB450_HDAUDIO_MISC_CNTR2_ADDR   0x42
 
13
 #define ATI_SB450_HDAUDIO_ENABLE_SNOOP      0x02