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

Commit bbba4df3 authored by Prateek Sood's avatar Prateek Sood
Browse files

tsens: fix compilation when CONFIG_DEBUG_FS is disabled



Fix compilation error when CONFIG_DEBUG_FS is disabled in
kona-perf_defconfig.

Change-Id: Ia29dfa0f8b8209455f19474952e6ede6b8b11b5c
Signed-off-by: default avatarPrateek Sood <prsood@codeaurora.org>
parent 4266f5b9
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
 */

#ifndef __QCOM_TSENS_H__
@@ -87,11 +87,11 @@ struct tsens_device;
		}	\
	} while (0)
#else
#define	TSENS_DBG1(x...)		pr_debug(x)
#define	TSENS_DBG(x...)		pr_debug(x)
#define	TSENS_INFO(x...)		pr_info(x)
#define	TSENS_ERR(x...)		pr_err(x)
#define	TSENS_DUMP(x...)		pr_info(x)
#define	TSENS_DBG1(dev, msg, x...)		pr_debug(msg, ##x)
#define	TSENS_DBG(dev, msg, x...)		pr_debug(msg, ##x)
#define	TSENS_INFO(dev, msg, x...)		pr_info(msg, ##x)
#define	TSENS_ERR(dev, msg, x...)		pr_err(msg, ##x)
#define	TSENS_DUMP(dev, msg, x...)		pr_info(msg, ##x)
#endif

#if defined(CONFIG_THERMAL_TSENS)