brintos

brintos / linux-shallow public Read only

0
0
Text · 478 B · a5a1224 Raw
22 lines · c
1/* SPDX-License-Identifier: GPL-2.0-only */2 3#ifndef __ACPI_VIOT_H__4#define __ACPI_VIOT_H__5 6#include <linux/acpi.h>7 8#ifdef CONFIG_ACPI_VIOT9void __init acpi_viot_early_init(void);10void __init acpi_viot_init(void);11int viot_iommu_configure(struct device *dev);12#else13static inline void acpi_viot_early_init(void) {}14static inline void acpi_viot_init(void) {}15static inline int viot_iommu_configure(struct device *dev)16{17	return -ENODEV;18}19#endif20 21#endif /* __ACPI_VIOT_H__ */22