From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751887AbdF1QyQ (ORCPT ); Wed, 28 Jun 2017 12:54:16 -0400 Received: from sabertooth02.qualcomm.com ([65.197.215.38]:44646 "EHLO sabertooth02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751567AbdF1QyK (ORCPT ); Wed, 28 Jun 2017 12:54:10 -0400 X-IronPort-AV: E=Sophos;i="5.40,276,1496127600"; d="scan'208";a="110400935" X-IronPort-AV: E=McAfee;i="5800,7501,8575"; a="989169348" X-MGA-submission: =?us-ascii?q?MDFyVgVmkxi1JFhb7Rdl6j/SfQkMigG/TzmbYl?= =?us-ascii?q?fZTVkJna7iUz+Nen6QLae2xQRn6EKJqj4rKdhWGna6lMfokpk8QnByJO?= =?us-ascii?q?mUMTlFdzbQrgZGX8b+si6sGANKNnII84r79eWSCo7xbQn5Jf6sp+EKrw?= =?us-ascii?q?2G?= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: ath10k: add const to thermal_cooling_device_ops structure From: Kalle Valo In-Reply-To: <1498037010-21024-1-git-send-email-bhumirks@gmail.com> References: <1498037010-21024-1-git-send-email-bhumirks@gmail.com> To: Bhumika Goyal CC: , , , , , Bhumika Goyal User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-ID: Date: Wed, 28 Jun 2017 18:54:01 +0200 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01E.na.qualcomm.com (10.85.0.31) To euamsexm01a.eu.qualcomm.com (10.251.127.40) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Bhumika Goyal wrote: > Declare thermal_cooling_device_ops structure as const as it is only passed > as an argument to the function thermal_cooling_device_register and this > argument is of type const. So, declare the structure as const. > > Signed-off-by: Bhumika Goyal > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 1cdb6c9fd433 ath10k: add const to thermal_cooling_device_ops structure -- https://patchwork.kernel.org/patch/9801291/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches