From dd3fa1d1e98f6d1f02bb489fd1b8f437beb6fe42 Mon Sep 17 00:00:00 2001 From: Soumya Managoli Date: Fri, 23 Feb 2018 13:08:14 +0530 Subject: [PATCH] dsp: Add missing pdr interface definition. Fix for compilation error when pdr is not enabled. CRs-Fixed: 2165343 Change-Id: Ic192d481b2e387b8c970c68832c87846329fe72d Signed-off-by: Soumya Managoli --- dsp/audio_pdr.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dsp/audio_pdr.h b/dsp/audio_pdr.h index 2a45c6a61fac..d1235bcac39d 100644 --- a/dsp/audio_pdr.h +++ b/dsp/audio_pdr.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. +/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -83,6 +83,10 @@ static inline int audio_pdr_register(struct notifier_block *nb) return -ENODEV; } +static inline int audio_pdr_deregister(struct notifier_block *nb) +{ + return -ENODEV; +} static inline void *audio_pdr_service_register(int domain_id, struct notifier_block *nb,