Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[muen/linux.git] / drivers / thermal / qoriq_thermal.c
index 450ed66edf582b4c6c77e3a376a17173cfdf57b9..18c711b1951413832434c86d654589550d5cc6ed 100644 (file)
@@ -119,8 +119,8 @@ static int qoriq_tmu_get_sensor_id(void)
        if (sensor_specs.args_count >= 1) {
                id = sensor_specs.args[0];
                WARN(sensor_specs.args_count > 1,
-                               "%s: too many cells in sensor specifier %d\n",
-                               sensor_specs.np->name, sensor_specs.args_count);
+                               "%pOFn: too many cells in sensor specifier %d\n",
+                               sensor_specs.np, sensor_specs.args_count);
        } else {
                id = 0;
        }
@@ -294,6 +294,7 @@ static SIMPLE_DEV_PM_OPS(qoriq_tmu_pm_ops,
 
 static const struct of_device_id qoriq_tmu_match[] = {
        { .compatible = "fsl,qoriq-tmu", },
+       { .compatible = "fsl,imx8mq-tmu", },
        {},
 };
 MODULE_DEVICE_TABLE(of, qoriq_tmu_match);