From patchwork Fri Aug 9 09:27:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalle Valo X-Patchwork-Id: 11086011 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E54E81395 for ; Fri, 9 Aug 2019 09:27:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2FEB28C40 for ; Fri, 9 Aug 2019 09:27:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C70BA28C51; Fri, 9 Aug 2019 09:27:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7038328C40 for ; Fri, 9 Aug 2019 09:27:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:To:From:Subject:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=s1DP0xyK/R2aUaIVNXMt4+Rs3g/2wnndVhdlWKy7dx8=; b=o10va45/L/pr/3 xpuBkxqmS6l/XRdit4EmIc6GH1XInqrQrce1Ls/98v9rjNRiB+IaUprvO+k7dR8i+DuBs5Yyo8/sz 6hI8ETfENv5BS1tdFq1eCYURk9Of6PGADzUJktFmH8j/YPw2XLp2TLifpUwFxZ+gRujxi8e8OtzbS 0+UFeMUkNPpjK5IZTtkNmE0rKm+FvB9/EHVAtE7iPTVGMuYWZw2YutuXS76ZjG065V9mgoxE3LURM W7WSdkGg8Bz4b++j2PdFyEb08KUO97+PDX39zC71pZIloeB8OBkoX2fm67uQk5v1uUNRca/Exkd3X zEh5XYlZDFmwJk++lC/A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hw1BA-0000qD-2j; Fri, 09 Aug 2019 09:27:20 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hw1B8-0000pu-2u for ath11k@lists.infradead.org; Fri, 09 Aug 2019 09:27:19 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C28CB60E42; Fri, 9 Aug 2019 09:27:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565342837; bh=QtLzMrh4PUurmtIcAcf+d7P5aQcJ5wySDbxjE2DJvp8=; h=Subject:From:To:Date:In-Reply-To:References:From; b=m5ZHJyJsz6G7VlZm3zH2qkHSmwauNwcKcROo+HorR8qSFuXIo1WCuO9/lM1Dv3tx+ qYEXLmkIEBbslM6U5KnonSusz8kZoRABr8dR7H8CwnSTB7tCxxWYJ7mYSHoMtECUuC Rm3rac2QSHHlae7De3dgzurSmK7b6Czrh16FL3I0= Received: from [127.0.1.1] (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id A70EE60AA8 for ; Fri, 9 Aug 2019 09:27:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565342837; bh=QtLzMrh4PUurmtIcAcf+d7P5aQcJ5wySDbxjE2DJvp8=; h=Subject:From:To:Date:In-Reply-To:References:From; b=m5ZHJyJsz6G7VlZm3zH2qkHSmwauNwcKcROo+HorR8qSFuXIo1WCuO9/lM1Dv3tx+ qYEXLmkIEBbslM6U5KnonSusz8kZoRABr8dR7H8CwnSTB7tCxxWYJ7mYSHoMtECUuC Rm3rac2QSHHlae7De3dgzurSmK7b6Czrh16FL3I0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A70EE60AA8 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Subject: [PATCH 09/15] ath11k: move fops_pktlog_filter to correct place From: Kalle Valo To: ath11k@lists.infradead.org Date: Fri, 09 Aug 2019 12:27:14 +0300 Message-ID: <156534283428.30736.4384925111786719487.stgit@x230> In-Reply-To: <156534276745.30736.11736417077894270794.stgit@x230> References: <156534276745.30736.11736417077894270794.stgit@x230> User-Agent: StGit/0.19 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190809_022718_145049_C566DCB0 X-CRM114-Status: UNSURE ( 8.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP It was placed in a confusing location, fix that. No functional changes. Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/debug.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/debug.c b/drivers/net/wireless/ath/ath11k/debug.c index 2ebdd8fd9e81..dc247b41390d 100644 --- a/drivers/net/wireless/ath/ath11k/debug.c +++ b/drivers/net/wireless/ath/ath11k/debug.c @@ -963,6 +963,12 @@ static ssize_t ath11k_read_pktlog_filter(struct file *file, return simple_read_from_buffer(ubuf, count, ppos, buf, len); } +static const struct file_operations fops_pktlog_filter = { + .read = ath11k_read_pktlog_filter, + .write = ath11k_write_pktlog_filter, + .open = simple_open +}; + static ssize_t ath11k_write_simulate_radar(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) @@ -977,12 +983,6 @@ static ssize_t ath11k_write_simulate_radar(struct file *file, return count; } -static const struct file_operations fops_pktlog_filter = { - .read = ath11k_read_pktlog_filter, - .write = ath11k_write_pktlog_filter, - .open = simple_open -}; - static const struct file_operations fops_simulate_radar = { .write = ath11k_write_simulate_radar, .open = simple_open