coresight: Move all sysfs code to sysfs file
[linux-2.6-microblaze.git] / drivers / hwtracing / coresight / coresight-etm4x-core.c
index 7ceff62..1c64b54 100644 (file)
@@ -1648,7 +1648,7 @@ static int etm4_online_cpu(unsigned int cpu)
                return etm4_probe_cpu(cpu);
 
        if (etmdrvdata[cpu]->boot_enable && !etmdrvdata[cpu]->sticky_enable)
-               coresight_enable(etmdrvdata[cpu]->csdev);
+               coresight_enable_sysfs(etmdrvdata[cpu]->csdev);
        return 0;
 }
 
@@ -2096,7 +2096,7 @@ static int etm4_add_coresight_dev(struct etm4_init_arg *init_arg)
                 drvdata->cpu, type_name, major, minor);
 
        if (boot_enable) {
-               coresight_enable(drvdata->csdev);
+               coresight_enable_sysfs(drvdata->csdev);
                drvdata->boot_enable = true;
        }