diff options
author | Jeeja KP <jeeja.kp@intel.com> | 2015-08-01 10:10:40 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-07 09:26:01 -0400 |
commit | aba3dd5ace59d038a9d69e0f5319b6fec61012c8 (patch) | |
tree | ec8d271e04e79f18d8385702f8b1639a093cf1c6 | |
parent | 9f2dd0270d81b283e11e39f9276113aef391e420 (diff) |
ASoC: Intel: Skylake: Use acpi header for NHLT header
Instead of defining own acpi header, use the available acpi
header defined in acpi framework.
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/skylake/skl-nhlt.c | 1 | ||||
-rw-r--r-- | sound/soc/intel/skylake/skl-nhlt.h | 14 |
2 files changed, 2 insertions, 13 deletions
diff --git a/sound/soc/intel/skylake/skl-nhlt.c b/sound/soc/intel/skylake/skl-nhlt.c index a14009b47b29..13036b19d7e5 100644 --- a/sound/soc/intel/skylake/skl-nhlt.c +++ b/sound/soc/intel/skylake/skl-nhlt.c | |||
@@ -17,7 +17,6 @@ | |||
17 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 17 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
18 | * | 18 | * |
19 | */ | 19 | */ |
20 | #include <linux/acpi.h> | ||
21 | #include "skl.h" | 20 | #include "skl.h" |
22 | 21 | ||
23 | /* Unique identification for getting NHLT blobs */ | 22 | /* Unique identification for getting NHLT blobs */ |
diff --git a/sound/soc/intel/skylake/skl-nhlt.h b/sound/soc/intel/skylake/skl-nhlt.h index b0e2e4da42a1..3769f9fefe2b 100644 --- a/sound/soc/intel/skylake/skl-nhlt.h +++ b/sound/soc/intel/skylake/skl-nhlt.h | |||
@@ -20,17 +20,7 @@ | |||
20 | #ifndef __SKL_NHLT_H__ | 20 | #ifndef __SKL_NHLT_H__ |
21 | #define __SKL_NHLT_H__ | 21 | #define __SKL_NHLT_H__ |
22 | 22 | ||
23 | struct acpi_desc_header { | 23 | #include <linux/acpi.h> |
24 | u32 signature; | ||
25 | u32 length; | ||
26 | u8 revision; | ||
27 | u8 checksum; | ||
28 | u8 oem_id[6]; | ||
29 | u64 oem_table_id; | ||
30 | u32 oem_revision; | ||
31 | u32 creator_id; | ||
32 | u32 creator_revision; | ||
33 | } __packed; | ||
34 | 24 | ||
35 | struct wav_fmt { | 25 | struct wav_fmt { |
36 | u16 fmt_tag; | 26 | u16 fmt_tag; |
@@ -98,7 +88,7 @@ struct nhlt_endpoint { | |||
98 | } __packed; | 88 | } __packed; |
99 | 89 | ||
100 | struct nhlt_acpi_table { | 90 | struct nhlt_acpi_table { |
101 | struct acpi_desc_header header; | 91 | struct acpi_table_header header; |
102 | u8 endpoint_count; | 92 | u8 endpoint_count; |
103 | struct nhlt_endpoint desc[0]; | 93 | struct nhlt_endpoint desc[0]; |
104 | } __packed; | 94 | } __packed; |