Merge branch 'acpi-pci'
[firefly-linux-kernel-4.4.55.git] / include / linux / acpi.h
index d6f95bb481d447ae95046c523ae0a62f5ded234f..b729eb3f113745717b831574e8d839b58af6af01 100644 (file)
@@ -596,11 +596,16 @@ static inline int acpi_device_modalias(struct device *dev,
        return -ENODEV;
 }
 
-static inline bool acpi_check_dma(struct acpi_device *adev, bool *coherent)
+static inline bool acpi_dma_supported(struct acpi_device *adev)
 {
        return false;
 }
 
+static inline enum dev_dma_attr acpi_get_dma_attr(struct acpi_device *adev)
+{
+       return DEV_DMA_NOT_SUPPORTED;
+}
+
 #define ACPI_PTR(_ptr) (NULL)
 
 #endif /* !CONFIG_ACPI */