Skip to content

Commit

Permalink
ASoC: Intel: Skylake: Use acpi header for NHLT header
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeeja KP authored and Mark Brown committed Aug 7, 2015
1 parent 9f2dd02 commit aba3dd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
1 change: 0 additions & 1 deletion sound/soc/intel/skylake/skl-nhlt.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
*/
#include <linux/acpi.h>
#include "skl.h"

/* Unique identification for getting NHLT blobs */
Expand Down
14 changes: 2 additions & 12 deletions sound/soc/intel/skylake/skl-nhlt.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,7 @@
#ifndef __SKL_NHLT_H__
#define __SKL_NHLT_H__

struct acpi_desc_header {
u32 signature;
u32 length;
u8 revision;
u8 checksum;
u8 oem_id[6];
u64 oem_table_id;
u32 oem_revision;
u32 creator_id;
u32 creator_revision;
} __packed;
#include <linux/acpi.h>

struct wav_fmt {
u16 fmt_tag;
Expand Down Expand Up @@ -98,7 +88,7 @@ struct nhlt_endpoint {
} __packed;

struct nhlt_acpi_table {
struct acpi_desc_header header;
struct acpi_table_header header;
u8 endpoint_count;
struct nhlt_endpoint desc[0];
} __packed;
Expand Down

0 comments on commit aba3dd5

Please sign in to comment.