]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/hwtracing/coresight/coresight-tmc.c
coresight: fix handling of ETM trace register access via sysfs
[mirror_ubuntu-bionic-kernel.git] / drivers / hwtracing / coresight / coresight-tmc.c
index 4cbcaf93c9d999082d779db1bec499298bdc1061..a4748630f5d630e6df2fd13cf01af91f2f6da0e1 100644 (file)
@@ -218,7 +218,7 @@ static enum tmc_mem_intf_width tmc_get_memwidth(u32 devid)
 }
 
 #define coresight_tmc_simple_func(name, offset)                        \
-       coresight_simple_func(struct tmc_drvdata, name, offset)
+       coresight_simple_func(struct tmc_drvdata, NULL, name, offset)
 
 coresight_tmc_simple_func(rsz, TMC_RSZ);
 coresight_tmc_simple_func(sts, TMC_STS);