summaryrefslogtreecommitdiff
path: root/drivers/dsp/syslink/devh/44xx/devh44xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dsp/syslink/devh/44xx/devh44xx.c')
-rw-r--r--drivers/dsp/syslink/devh/44xx/devh44xx.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/dsp/syslink/devh/44xx/devh44xx.c b/drivers/dsp/syslink/devh/44xx/devh44xx.c
index 272ea565a993..6d589cf8e0b6 100644
--- a/drivers/dsp/syslink/devh/44xx/devh44xx.c
+++ b/drivers/dsp/syslink/devh/44xx/devh44xx.c
@@ -379,7 +379,11 @@ static int devh44xx_sysm3_tiler_notifier_call(struct notifier_block *nb,
switch ((int)val) {
case TILER_DEVICE_CLOSE:
+#if defined(CONFIG_TILER_PID_KILL_NOTIFICATIONS)
return devh44xx_notifier_call(nb, val, v, pdata);
+#else
+ return 0;
+#endif
default:
return 0;
}
@@ -393,7 +397,11 @@ static int devh44xx_appm3_tiler_notifier_call(struct notifier_block *nb,
switch ((int)val) {
case TILER_DEVICE_CLOSE:
+#if defined(CONFIG_TILER_PID_KILL_NOTIFICATIONS)
return devh44xx_notifier_call(nb, val, v, pdata);
+#else
+ return 0;
+#endif
default:
return 0;
}
@@ -407,7 +415,11 @@ static int devh44xx_tesla_tiler_notifier_call(struct notifier_block *nb,
switch ((int)val) {
case TILER_DEVICE_CLOSE:
+#if defined(CONFIG_TILER_PID_KILL_NOTIFICATIONS)
return devh44xx_notifier_call(nb, val, v, pdata);
+#else
+ return 0;
+#endif
default:
return 0;
}