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

Commit 1c7ca1e1 authored by Prateek Sood's avatar Prateek Sood Committed by Gerrit - the friendly Code Review server
Browse files

tsens: fix compilation when CONFIG_DEBUG_FS is disabled



Fix compilation error when CONFIG_DEBUG_FS is disabled in
perf_defconfig.

Change-Id: Ia29dfa0f8b8209455f19474952e6ede6b8b11b5c
Signed-off-by: default avatarPrateek Sood <prsood@codeaurora.org>
[rshaha@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: default avatarRahul Shahare <rshaha@codeaurora.org>
parent 81e1f886
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -104,11 +104,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)