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

Commit 1c1dd420 authored by Jeff Johnson's avatar Jeff Johnson
Browse files

bluetooth: Remove test of CONFIG_CLD_LL_CORE for enable_extldo()



Currently the implementation of function enable_extldo() is protected
by both CONFIG_CNSS and CONFIG_CLD_LL_CORE. CONFIG_CLD_LL_CORE is not
required for the underlying call to cnss_get_platform_cap(), so remove
this test to allow the function to work correctly when CONFIG_CNSS is
defined but CONFIG_CLD_LL_CORE is *not* defined.

Change-Id: I7929b8dca00c1706446837d4f5f3f3c371d935b5
CRs-Fixed: 2220076
Signed-off-by: default avatarJeff Johnson <jjohnson@codeaurora.org>
parent 6dbbe7f7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2009-2010, 2013-2017 The Linux Foundation. All rights reserved.
/* Copyright (c) 2009-2010, 2013-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
@@ -366,7 +366,7 @@ static const struct rfkill_ops bluetooth_power_rfkill_ops = {
	.set_block = bluetooth_toggle_radio,
};

#if defined(CONFIG_CNSS) && defined(CONFIG_CLD_LL_CORE)
#if defined(CONFIG_CNSS)
static ssize_t enable_extldo(struct device *dev, struct device_attribute *attr,
			char *buf)
{