From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0CCFAC5519F for ; Wed, 18 Nov 2020 16:53:51 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8447F24858 for ; Wed, 18 Nov 2020 16:53:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8447F24858 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F23F46E45D; Wed, 18 Nov 2020 16:53:49 +0000 (UTC) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 19C936E45D for ; Wed, 18 Nov 2020 16:53:48 +0000 (UTC) IronPort-SDR: mdOdMoOpCu+sA7iFwYcUzgnhRwNfyAt9bLMPRgXl4YQhRoWpPqxt4/MKKxpJN+OzIM8QYviHCe /II9FL2ONdlA== X-IronPort-AV: E=McAfee;i="6000,8403,9809"; a="150991894" X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208";a="150991894" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2020 08:53:47 -0800 IronPort-SDR: 2JPoZm1puBdyJUhiN8hWtniMNdU0bTak5c4ADWW+rjk9psh8/eSXz1aSpWHULO/sTP2bxgKw66 AUCXXE7ioiRg== X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208";a="359541207" Received: from dlmurray-mobl3.ger.corp.intel.com (HELO localhost) ([10.251.82.13]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2020 08:53:45 -0800 From: Jani Nikula To: linux-kernel@vger.kernel.org Date: Wed, 18 Nov 2020 18:53:17 +0200 Message-Id: <20201118165320.26829-3-jani.nikula@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201118165320.26829-1-jani.nikula@intel.com> References: <20201118165320.26829-1-jani.nikula@intel.com> MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 3/6] ath10k: make relay callbacks const X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jani.nikula@intel.com, intel-gfx@lists.freedesktop.org, ath10k@lists.infradead.org, Kalle Valo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Now that relay_open() accepts const callbacks, make relay callbacks const. Cc: Kalle Valo Cc: ath10k@lists.infradead.org Signed-off-by: Jani Nikula --- drivers/net/wireless/ath/ath10k/spectral.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/spectral.c b/drivers/net/wireless/ath/ath10k/spectral.c index 5db6bff5193b..68254a967ccb 100644 --- a/drivers/net/wireless/ath/ath10k/spectral.c +++ b/drivers/net/wireless/ath/ath10k/spectral.c @@ -497,7 +497,7 @@ static int remove_buf_file_handler(struct dentry *dentry) return 0; } -static struct rchan_callbacks rfs_spec_scan_cb = { +static const struct rchan_callbacks rfs_spec_scan_cb = { .create_buf_file = create_buf_file_handler, .remove_buf_file = remove_buf_file_handler, }; -- 2.20.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx