Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2748975ybz; Sun, 3 May 2020 08:24:24 -0700 (PDT) X-Google-Smtp-Source: APiQypI98B0juwAV+7MmF6GfUGkoR4iqcyO6oWLHCTmMBH1EPEKIs22zItP/70Lh1a4wUxhrKuWm X-Received: by 2002:a17:906:7743:: with SMTP id o3mr11661952ejn.120.1588519464607; Sun, 03 May 2020 08:24:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588519464; cv=none; d=google.com; s=arc-20160816; b=X1Oprukl4TZnSpmEQa/qRvV9cHYTIpFoAAvfszJ3J+QbuImpPr0LC8zb8JEkepg0Jg uU9S9t4UdJzxSPa0R7FWED/X41jxkcXUA6GfvHP8HH9amjXKTsH2CKJ13hkubJ9c71Kl 308H6BL3YsI/O9ZtJ+ViV8ibKEuz7e2BJ4ez8oraVQ3Bf713IWR3yPRBNuEpkm8Tl6BN pWbP8IaiMS+Nnuw3pNqtiVvFWHJot7ax0h2QGZG/ojCI2nHgUK1o9lLsHmsnJH9YDNxH GZ5mP7ZGKDQkdtQf7x3dJo83q7+VcDY9XGJwH0S57FALF17vd8z3gEVMJxUH+S9ieRqP yYUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:content-transfer-encoding :mime-version:subject:from:references:in-reply-to:message-id:date :dkim-signature; bh=mH6x09R6tksfFDVieMvd9BE3FaE1PvkijG44RjIWSj8=; b=JPVyPB7dkNBsYD2qpicSVJjfGd1IwuN4Z3GdNDdCRH3KaFm8qSADVZriYff4j3bKcw u7XqmFtr2XBiKEyDGacwUne40nRwP7Lm8ez11AhEJk17kupjb8SKy2fjYcpKYL8WkdGH HDFhGnEDrlSRq+JvY56n+Mp/VyckF7eNtHmI/hiU+cut0ZSpyin1YozmhSP+ZvMxLG8F 04R508Vz+vMbAl3mosBJuKIMUdlZlQj+1Kv/amvMe0lkNqFHfpICL2Mfzvs2jsmiUBnI XkJCs2/dX+LeBVq5VA3YGw/RV2hgECeVLaxE7KTEJwtuNWo2vDc0+57QGP0V1ZxEhdCF r80Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=Kp1cDprU; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f14si5257083edm.161.2020.05.03.08.24.02; Sun, 03 May 2020 08:24:24 -0700 (PDT) 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; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=Kp1cDprU; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728883AbgECPVz (ORCPT + 99 others); Sun, 3 May 2020 11:21:55 -0400 Received: from rere.qmqm.pl ([91.227.64.183]:43713 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728627AbgECPVN (ORCPT ); Sun, 3 May 2020 11:21:13 -0400 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 49FV7W0x0HzKc; Sun, 3 May 2020 17:21:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1588519271; bh=aHxtsC8N7E1pudNhXZCf8OSOZbxQCCFh3AVsjrqFoGw=; h=Date:In-Reply-To:References:From:Subject:To:Cc:From; b=Kp1cDprUo9JxAqyaSmhflDRfLxph2C3xK63hbVGONN3KhsQTD4zKJ81Y6S51mJMil lj4fQzOr3ss2zY18IrsUtBSoh/h1X/qCPNcMiwa5kiXtzW+2CQPvnkweDxpt8rSKxS O0xerEJigOeHJpFZQY0TEeAe49eVwD0PZ4cfE9IQk+JFDbIUwH6E55kvAc9l2f9W1t QoOR6WbNjWpsdINW/JNUNZXi/0T0EYIIPBQiYTqF/Cq5Ck8Jdv820cPI+ag/iXCiJh GO8/HV1LY7AdF8Ftwyr7fpa4f6RqzPedsD/gt9nPdvEpAZrgWiTgN8r+RzqUwGH6/Z wydbTYZkX+asA== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.2 at mail Date: Sun, 03 May 2020 17:21:10 +0200 Message-Id: In-Reply-To: References: From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= Subject: [PATCH v2 03/11] power: bq25890: make property table const MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: Rob Herring , Sebastian Reichel Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Property list should not change, so mark it const. Signed-off-by: Michał Mirosław --- drivers/power/supply/bq25890_charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/bq25890_charger.c b/drivers/power/supply/bq25890_charger.c index f9f29edadddc..c4a69fd69f34 100644 --- a/drivers/power/supply/bq25890_charger.c +++ b/drivers/power/supply/bq25890_charger.c @@ -668,7 +668,7 @@ static int bq25890_hw_init(struct bq25890_device *bq) return 0; } -static enum power_supply_property bq25890_power_supply_props[] = { +static const enum power_supply_property bq25890_power_supply_props[] = { POWER_SUPPLY_PROP_MANUFACTURER, POWER_SUPPLY_PROP_MODEL_NAME, POWER_SUPPLY_PROP_STATUS, -- 2.20.1