summaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/stm/heartbeat.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwtracing/stm/heartbeat.c')
-rw-r--r--drivers/hwtracing/stm/heartbeat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwtracing/stm/heartbeat.c b/drivers/hwtracing/stm/heartbeat.c
index 81d7b21d31ec..e9496fe97baa 100644
--- a/drivers/hwtracing/stm/heartbeat.c
+++ b/drivers/hwtracing/stm/heartbeat.c
@@ -78,6 +78,7 @@ static int stm_heartbeat_init(void)
}
stm_heartbeat[i].data.nr_chans = 1;
+ stm_heartbeat[i].data.type = STM_USER;
stm_heartbeat[i].data.link = stm_heartbeat_link;
stm_heartbeat[i].data.unlink = stm_heartbeat_unlink;
hrtimer_init(&stm_heartbeat[i].hrtimer, CLOCK_MONOTONIC,