linux/sound/soc/intel/common/soc-intel-quirks.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * soc-intel-quirks.h - prototypes for quirk autodetection
 *
 * Copyright (c) 2019, Intel Corporation.
 *
 */

#ifndef _SND_SOC_INTEL_QUIRKS_H
#define _SND_SOC_INTEL_QUIRKS_H

#include <linux/platform_data/x86/soc.h>

#if IS_REACHABLE(CONFIG_IOSF_MBI)

#include <linux/dmi.h>
#include <asm/iosf_mbi.h>

static inline bool soc_intel_is_byt_cr(struct platform_device *pdev)
{}

#else

static inline bool soc_intel_is_byt_cr(struct platform_device *pdev)
{
	return false;
}

#endif

#endif /* _SND_SOC_INTEL_QUIRKS_H */