blob: a54921825ce08e3421f984b6229883a51246f554 [file] [log] [blame]
Vinod Koul7c3cd182017-12-14 11:19:34 +05301// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2// Copyright(c) 2015-17 Intel Corporation.
3
4#ifndef __SDW_BUS_H
5#define __SDW_BUS_H
6
7#if IS_ENABLED(CONFIG_ACPI)
8int sdw_acpi_find_slaves(struct sdw_bus *bus);
9#else
10static inline int sdw_acpi_find_slaves(struct sdw_bus *bus)
11{
12 return -ENOTSUPP;
13}
14#endif
15
16void sdw_extract_slave_id(struct sdw_bus *bus,
17 u64 addr, struct sdw_slave_id *id);
18
19#endif /* __SDW_BUS_H */