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

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

wil6210: fix compilation when CONFIG_DEBUG_FS is disabled



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

Change-Id: I91adfc7cfd611db3a4dfb60cc9cff85113b4885d
Signed-off-by: default avatarPrateek Sood <prsood@codeaurora.org>
parent a574a514
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
/* SPDX-License-Identifier: ISC */
/*
 * Copyright (c) 2012-2017 Qualcomm Atheros, Inc.
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
 */

#ifndef __WIL6210_H__
@@ -1415,6 +1415,11 @@ void wil6210_debugfs_remove(struct wil6210_priv *wil);
#else
static inline int wil6210_debugfs_init(struct wil6210_priv *wil) { return 0; }
static inline void wil6210_debugfs_remove(struct wil6210_priv *wil) {}
static inline int wil_led_blink_set(struct wil6210_priv *wil,
				    const char *buf)
{
	return 0;
}
#endif

int wil6210_sysfs_init(struct wil6210_priv *wil);