Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / drivers / acpi / glue.c
index 3be1433853bfb9920a96f1cd212f052922f253a3..12ba2bee8789b3d5d562e8e0736409886f70c282 100644 (file)
@@ -320,7 +320,7 @@ static int acpi_platform_notify(struct device *dev)
        if (!adev)
                goto out;
 
-       if (dev->bus == &platform_bus_type)
+       if (dev_is_platform(dev))
                acpi_configure_pmsi_domain(dev);
 
        if (type && type->setup)