| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | 
| 2 | |||||
| 3 | #ifndef AMD_IOMMU_H | ||||
| 4 | #define AMD_IOMMU_H | ||||
| 5 | |||||
| 6 | int __init add_special_device(u8 type, u8 id, u16 *devid, bool cmd_line); | ||||
| 7 | |||||
| 8 | #ifdef CONFIG_DMI | ||||
| 9 | void amd_iommu_apply_ivrs_quirks(void); | ||||
| 10 | #else | ||||
| 11 | static void amd_iommu_apply_ivrs_quirks(void) { } | ||||
| 12 | #endif | ||||
| 13 | |||||
| 14 | #endif | ||||