Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21d942b0 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: define dummy function for swrm_wcd_notify"

parents 58f31c8a 0cf63fe3
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015, 2017 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
@@ -30,6 +30,13 @@ struct swr_mstr_port {
	u8 *port;
};

#if IS_ENABLED(CONFIG_SOUNDWIRE_WCD_CTRL)
extern int swrm_wcd_notify(struct platform_device *pdev, u32 id, void *data);

#else /* CONFIG_SOUNDWIRE_WCD_CTRL */
static inline int swrm_wcd_notify(struct platform_device *pdev, u32 id,
				  void *data)
{
	return 0;
}
#endif /* CONFIG_SOUNDWIRE_WCD_CTRL */
#endif /* _LINUX_SWR_WCD_H */