Merge tag 'xtensa-20180225' of git://github.com/jcmvbkbc/linux-xtensa
[cris-mirror.git] / include / linux / soundwire / sdw_intel.h
blob4b37528f592d09c60bdfe99a3ebcfef0fbf536d1
1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2 // Copyright(c) 2015-17 Intel Corporation.
4 #ifndef __SDW_INTEL_H
5 #define __SDW_INTEL_H
7 /**
8 * struct sdw_intel_res - Soundwire Intel resource structure
9 * @mmio_base: mmio base of SoundWire registers
10 * @irq: interrupt number
11 * @handle: ACPI parent handle
12 * @parent: parent device
14 struct sdw_intel_res {
15 void __iomem *mmio_base;
16 int irq;
17 acpi_handle handle;
18 struct device *parent;
21 void *sdw_intel_init(acpi_handle *parent_handle, struct sdw_intel_res *res);
22 void sdw_intel_exit(void *arg);
24 #endif