Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp466371pxb; Wed, 18 Nov 2020 08:58:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnnSyArg4k6w5EU3JYmBwhQzgITcWe8KYubTVyL4c+fWvje8B6g1s0cO9x8I6YuI4yGjU4 X-Received: by 2002:a50:951e:: with SMTP id u30mr28300279eda.197.1605718695995; Wed, 18 Nov 2020 08:58:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605718695; cv=none; d=google.com; s=arc-20160816; b=T3WcivA0I6qoa5vlwYOaH8xF4W3nd1nHl/NGVJslANxTQ2xkdoUQtvThu97E+i6Gsh C+c1qwe1oHUp1urUF6f6thHBzzxIO24RtbNFJIWNO4N9Wc/ABa/nuyx+lpyulOoXLIAE lKDtVMXzXHObJF4vanUXINHjjUJ9y28+m1mDRE98KsPsH+5CH8An/ZvfhwaLyYQl2KnD 9oCmjIQUMNkaKRc7PXmBCVhMj8c8QB9ny0Sd1Q2XAKa39il8Rj4uRteleiH7MkyFyXpG dNxOY4v6yzesXP3I72u0k85LNj2OtHYDJhgqwzuUGAD/Wc9+pPkMFrFCcmprcM+KuQGw keaw== 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=2u1tHhjayv5nlhajIj3FGeEOJXZY8bxjtYEeQF3jkf0=; b=BT61sUZqIXiBAtvV90oPSx+vVO3LBtWaI/o4O5k430Zq2BV3Jjvg6qnUYQPZE+T09q 5olGx5snhaVjrGCToUQlo53LaOOM4RT66Icb6zRaXu0zhSf+CYrL6Q0onW5Jt7mpvYS4 wfQ5EB7/zy/tNxXazY/111BUuXAqw7bLNZSoyjm2ZFXDi1R3Rermw/LLxyaEixXdYtBa LudwKo1u6MIiSEdmxa3qAc7+88+6a4HbQg6WxYfOk3XmCtE1pw9Nqtxo5UGi6gW+M4Cw +Gijxmtb0qagMLful/rTOgt6mdh/j7R6d3z0tkwInMhN5+JNb1CZLah355r1joVilzLK Aogg== 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 h10si17449718edn.589.2020.11.18.08.57.53; Wed, 18 Nov 2020 08:58:15 -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 S1727859AbgKRQx5 (ORCPT + 99 others); Wed, 18 Nov 2020 11:53:57 -0500 Received: from mga01.intel.com ([192.55.52.88]:27137 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726924AbgKRQx5 (ORCPT ); Wed, 18 Nov 2020 11:53:57 -0500 IronPort-SDR: /A9BJfCtwSrtWhdRRneap9n4Jp+NzdT6XpdY2Z++xA2+fX1ha1ZVYjHw7l+Y6T9EvX1QSS03W1 2un7SHM+E8Sg== X-IronPort-AV: E=McAfee;i="6000,8403,9809"; a="189225091" X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208";a="189225091" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2020 08:53:54 -0800 IronPort-SDR: 5w0I3UUSeGLJLJiMv9LlRTYT7oJkfY7IZNpLLOgy5Esh1RbcfdTwHGfgbhMYwoP7jIzegSSmsn 9b8YKy0Ym60w== X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208";a="330580051" Received: from dlmurray-mobl3.ger.corp.intel.com (HELO localhost) ([10.251.82.13]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2020 08:53:51 -0800 From: Jani Nikula To: linux-kernel@vger.kernel.org Cc: jani.nikula@intel.com, intel-gfx@lists.freedesktop.org, Kalle Valo , ath11k@lists.infradead.org Subject: [PATCH 4/6] ath11k: make relay callbacks const Date: Wed, 18 Nov 2020 18:53:18 +0200 Message-Id: <20201118165320.26829-4-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: ath11k@lists.infradead.org Signed-off-by: Jani Nikula --- drivers/net/wireless/ath/ath11k/spectral.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath11k/spectral.c b/drivers/net/wireless/ath/ath11k/spectral.c index ac2a8cfdc1c0..1afe67759659 100644 --- a/drivers/net/wireless/ath/ath11k/spectral.c +++ b/drivers/net/wireless/ath/ath11k/spectral.c @@ -148,7 +148,7 @@ static int remove_buf_file_handler(struct dentry *dentry) return 0; } -static struct rchan_callbacks rfs_scan_cb = { +static const struct rchan_callbacks rfs_scan_cb = { .create_buf_file = create_buf_file_handler, .remove_buf_file = remove_buf_file_handler, }; -- 2.20.1