Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 
0003 #ifndef __ACPI_VIOT_H__
0004 #define __ACPI_VIOT_H__
0005 
0006 #include <linux/acpi.h>
0007 
0008 #ifdef CONFIG_ACPI_VIOT
0009 void __init acpi_viot_early_init(void);
0010 void __init acpi_viot_init(void);
0011 int viot_iommu_configure(struct device *dev);
0012 #else
0013 static inline void acpi_viot_early_init(void) {}
0014 static inline void acpi_viot_init(void) {}
0015 static inline int viot_iommu_configure(struct device *dev)
0016 {
0017     return -ENODEV;
0018 }
0019 #endif
0020 
0021 #endif /* __ACPI_VIOT_H__ */