Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp465983pxb; Wed, 18 Nov 2020 08:57:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJw2+A32PY57rKsmN9NKryUQt4EOKsVimaRIUnSbMsLdmBPfxJbn6lMxCAN0QfmvjRuvp6nd X-Received: by 2002:a17:906:af69:: with SMTP id os9mr6624095ejb.180.1605718665247; Wed, 18 Nov 2020 08:57:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605718665; cv=none; d=google.com; s=arc-20160816; b=JNhGlBVTvI+sVCm6JqDDEGtJBggcS9z9ykJIMEvO/zQhhpT8fSTOHs1iUW03gVIS3F OD+Z/agw6knhODahI4v28zUCHdgaFi4VBiR2ZJpJybNXWHJugeheVFgZ6MN17TiFy7bS Y9c5KmRimpj8TM0HeuTS+Suc/B5oiCCjmW+IlX/JnJATYc0kq7+OXGBf4ro7QIFxrRec 8Gb1UZN9El83ondva4DLkYdKZ7edZKGUEX3zOKNvJ4RYNW9ezWOCJ88EAgaSDQ1La3mo EIFlbBwmc1TyBzMk7bKYBP2CQ0I1muWnZ/r6JCN0auHE+F6b7WHsAe57HruUCZcfuM28 jdxQ== 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=gShHFKea8PkTXC2rbV8ZnCILLvFS1j/y/1dhfYsFHxE=; b=oBXYxQUK7CIMpNpDDSi40JTeUsbdEi2JzN95pxqXktTg6LYiC6Dd7ac9jhdc8h2NBO y5fcbBZhD+swnZEd3wY8b45DPof6t3P8wRoFxqTz8wsmw4TkA2aEXoNp9UvhXwgVP8er iJh+3cYPezmZgNNiL7IrhNRLnA3qJbg5wR91r2ACnSdjMiffmeYQR2Lv5V0UQuxohGSA O1HFRtVpODum6kqr40GUUifJmnxuGr2OMj3Zsp2pb3EGeMLRjLMjz0lAKtOXh7umM5ig 9FzaYG91ufrh0l1s9UlLtJb5HtEpPlYTVdq6ianASgE9XblxvWK9UYDFNNt6+RxZaQRP pOIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 e5si16810834edr.30.2020.11.18.08.57.21; Wed, 18 Nov 2020 08:57:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 S1728002AbgKRQyA (ORCPT + 99 others); Wed, 18 Nov 2020 11:54:00 -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 S1727926AbgKRQx7 (ORCPT ); Wed, 18 Nov 2020 11:53:59 -0500 IronPort-SDR: KrHk7k0abLF1cyTrZG4Cx4NcY4exsfcosg3mg4IYa61HQ6YhZzebceqUYDYlpHqMu5vxQyizee 8AvX9fBtkclw== X-IronPort-AV: E=McAfee;i="6000,8403,9809"; a="189225105" X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208";a="189225105" 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:59 -0800 IronPort-SDR: jsxUfAN5DZO4IEOLUgumsySlshtRsfXJkfhQKxxX/cDt8ZHc5WlB6ERFxzx2zU+cenkOdC0ncv wtXbOLqwiH9A== X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208";a="330580086" 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:57 -0800 From: Jani Nikula To: linux-kernel@vger.kernel.org Cc: jani.nikula@intel.com, intel-gfx@lists.freedesktop.org, Kalle Valo , QCA ath9k Development , linux-wireless@vger.kernel.org Subject: [PATCH 5/6] ath9k: make relay callbacks const Date: Wed, 18 Nov 2020 18:53:19 +0200 Message-Id: <20201118165320.26829-5-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-wireless@vger.kernel.org Now that relay_open() accepts const callbacks, make relay callbacks const. Cc: Kalle Valo Cc: QCA ath9k Development Cc: linux-wireless@vger.kernel.org Signed-off-by: Jani Nikula --- drivers/net/wireless/ath/ath9k/common-spectral.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/common-spectral.c b/drivers/net/wireless/ath/ath9k/common-spectral.c index 21191955a7c1..e055adfb5361 100644 --- a/drivers/net/wireless/ath/ath9k/common-spectral.c +++ b/drivers/net/wireless/ath/ath9k/common-spectral.c @@ -1053,7 +1053,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