File fix-asoc-add-component-to-set_bias_level-events-in-linux-6.9-rc1.patch of Package lttng-modules

From: Kienan Stewart <kstewart@efficios.com>
Subject: Fix: ASoC add component to set_bias_level events in linux 6.9-rc1
References: bsc#1231309
Signed-off-by: Tony Jones <tonyj@suse.de>

Enable (via CONFIG_SUSE_KERNEL) the changes for upstream 303434ab80e94caead73bc2102b7e68cb1ff4d27

--- a/include/instrumentation/events/asoc.h	2024-10-14 11:20:31.997969888 -0700
+++ b/include/instrumentation/events/asoc.h	2024-10-14 11:25:21.937688060 -0700
@@ -120,7 +120,7 @@
 )
 #endif
 
-#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,9,0))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,9,0) || defined(CONFIG_SUSE_KERNEL))
 LTTNG_TRACEPOINT_EVENT_CLASS(asoc_snd_soc_dapm_context,
 
 	TP_PROTO(struct snd_soc_dapm_context *dapm, int val),
@@ -187,7 +187,7 @@
 )
 #endif
 
-#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,9,0))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,9,0) || defined(CONFIG_SUSE_KERNEL))
 LTTNG_TRACEPOINT_EVENT_CLASS(asoc_snd_soc_dapm_basic,
 
 	TP_PROTO(struct snd_soc_card *card, int event),
openSUSE Build Service is sponsored by