Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp466229pxb; Wed, 18 Nov 2020 08:58:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYNdouMB2uakQNx1hlPiM2h5c8Qn2dthKmJPeNrqwVjm93BpyJjcgYqZ1iVkc/CzTt+aiH X-Received: by 2002:a05:6402:553:: with SMTP id i19mr25980180edx.194.1605718684395; Wed, 18 Nov 2020 08:58:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605718684; cv=none; d=google.com; s=arc-20160816; b=bWEX7LwrTdqd0599Qwy8CmZDehs43WGBguL5xR4izKBBW25LPu7eTNkpVGnjUOHPPf D4TaI+oucxsndUx9L94vgSZUrGj6eVPaX3X7FyxelWOG09vG8uEjIj6UMh5/G4TW9paD ZR5m/z3OlCz7yd+ImqQzr3M/aHRVnxzM66bGa9rSxexYxqJvWv89n6s1514YGt/VRA51 aG2+wlMfk7TUS9tvOB7R/kunKejvU86z8ZO/pvY/gE2VAJg47c+ysYRJNglKv7VdEps+ rMT40m+dzykRg/k80JTnNzeU+VMyEZba0xDnp9fAkJutx/UCz/8CUi3coAVif9g0UPvc w2WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=9HI5pXZ0aE2Fptu44UwZ1KZRZXiT1RgMret6Ya6mtLY=; b=XAqZja/kTA4X2V+cH5BOq64N/zMk0xKnyBWAlVEBEChQlTldQRc69sX07poDB9FeGC RDEv1iZLLgj6/Ya/yHqO8t4kQ11lphBrVsFQj36WnN8H1+E7KR7RvF0M07ExZuY0eXZy 6/fSO887zTcJEP62OCcQCY97fml0Z+itZ8TmWovSRIhLRoA2OG4LJtYlQ+dtzN4p9esK aiCeN0dq03E+d8kxUITtH/MNz6NaI9jyYYZKuf60YWzi0pFY0iQaGAEzP5YPf0t0cUjy y+Gewe+LP4Ba12u39AqNcPEdthWgtLm3TsKv9GMFoggjEZeCsp3qRtlPElKNU7CXmTmt QGaw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m17si5229409ejb.268.2020.11.18.08.57.41; Wed, 18 Nov 2020 08:58:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727795AbgKRQxv (ORCPT + 99 others); Wed, 18 Nov 2020 11:53:51 -0500 Received: from mga09.intel.com ([134.134.136.24]:38809 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726924AbgKRQxv (ORCPT ); Wed, 18 Nov 2020 11:53:51 -0500 IronPort-SDR: SqAx3yxGsMuflnwL4zJaTkV+E8rVnx/PObfFFGtru6CGgGH75eqKav/KRqxEWgpY7LvlsxKAoc 48XbHSiMn7kA== X-IronPort-AV: E=McAfee;i="6000,8403,9809"; a="171315668" X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208";a="171315668" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2020 08:53:48 -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 Cc: jani.nikula@intel.com, intel-gfx@lists.freedesktop.org, Kalle Valo , ath10k@lists.infradead.org Subject: [PATCH 3/6] ath10k: make relay callbacks const 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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