Message ID | 1416488248-24246-1-git-send-email-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 0e50e92669357e4702fcd6a85e2f0d6e92295664 |
Headers | show
Return-Path: <patchwork-forward+bncBDA7X7F2WUEBBEWLW6RQKGQEXZH6NFY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2260923588 for <linaro@patches.linaro.org>; Thu, 20 Nov 2014 12:58:59 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id l18sf1678403wgh.10 for <linaro@patches.linaro.org>; Thu, 20 Nov 2014 04:58:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:content-type:content-transfer-encoding:sender :precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=LXSxwhQaWBucLFbi8Vqc8Y01edqgdM1avZ2vM1CZum4=; b=MkjtYG353cwsjkSUPUv/t8uCpOEVJA0MV6hHJWdPlXjDOB+R9PAxe8bi5qOuSzp3Ri HGcGwxvgkV0Y+2EjxkKyturtWyLyEC+lE3UpfbDEE4p2jAcqJdsdMzlyEeWI/F3BAXsY zCY+IDl3e2gR87bKCbA/NvQKnw2JfrvqCSKpy/3z/R/z2bovlFUnf3iwskJBkqtf6QZv dvTR8dwL6mstdoCUK+TUxHd4B2tg70//rTGCHmJ6cYFp/dmWvlo2Veyj/zhaMBkFsWJ1 RYahX4ASEtSRgFXSARdTKFpPRwUd/A0/cQPyNd3L/YbWzgYEJfUFOCkdYYNPVgWl10RS V6Cw== X-Gm-Message-State: ALoCoQk9wog2vakPyy5iwdhCeelc8wRW5zyXc9MUv3I+pmZXLRXqHgfRHyjI9hAXJJi0uzhleub+ X-Received: by 10.112.138.234 with SMTP id qt10mr5310991lbb.4.1416488338289; Thu, 20 Nov 2014 04:58:58 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.30.103 with SMTP id r7ls59231lah.93.gmail; Thu, 20 Nov 2014 04:58:57 -0800 (PST) X-Received: by 10.152.21.135 with SMTP id v7mr11388184lae.65.1416488337750; Thu, 20 Nov 2014 04:58:57 -0800 (PST) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id jo7si2126911lbc.39.2014.11.20.04.58.57 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Nov 2014 04:58:57 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by mail-lb0-f175.google.com with SMTP id n15so2183935lbi.6 for <patchwork-forward@linaro.org>; Thu, 20 Nov 2014 04:58:57 -0800 (PST) X-Received: by 10.112.62.166 with SMTP id z6mr2762931lbr.74.1416488337563; Thu, 20 Nov 2014 04:58:57 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp255163lbc; Thu, 20 Nov 2014 04:58:55 -0800 (PST) X-Received: by 10.66.191.135 with SMTP id gy7mr55676039pac.95.1416488279409; Thu, 20 Nov 2014 04:57:59 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ds11si3374925pdb.0.2014.11.20.04.57.48 for <multiple recipients>; Thu, 20 Nov 2014 04:57:59 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756408AbaKTM5r (ORCPT <rfc822;takahiro.akashi@linaro.org> + 26 others); Thu, 20 Nov 2014 07:57:47 -0500 Received: from mail-ie0-f177.google.com ([209.85.223.177]:52149 "EHLO mail-ie0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750885AbaKTM5p (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 20 Nov 2014 07:57:45 -0500 Received: by mail-ie0-f177.google.com with SMTP id rd18so2532453iec.8 for <linux-kernel@vger.kernel.org>; Thu, 20 Nov 2014 04:57:45 -0800 (PST) X-Received: by 10.107.26.134 with SMTP id a128mr221470ioa.80.1416488265151; Thu, 20 Nov 2014 04:57:45 -0800 (PST) Received: from localhost.localdomain (host86-177-158-220.range86-177.btcentralplus.com. [86.177.158.220]) by mx.google.com with ESMTPSA id a4sm2423468igx.10.2014.11.20.04.57.43 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Nov 2014 04:57:44 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Lee Jones <lee.jones@linaro.org> Subject: [PATCH] mfd: axp20x: Constify axp20x_acpi_match and rid unused warning Date: Thu, 20 Nov 2014 12:57:28 +0000 Message-Id: <1416488248-24246-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 971b0eb..c522ee2 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -236,7 +236,7 @@ static const struct i2c_device_id axp20x_i2c_id[] = { }; MODULE_DEVICE_TABLE(i2c, axp20x_i2c_id); -static struct acpi_device_id axp20x_acpi_match[] = { +static const struct acpi_device_id axp20x_acpi_match[] = { { .id = "INT33F4", .driver_data = AXP288_ID,
axp20x.c:239:30: warning: ‘axp20x_acpi_match’ defined but not used [-Wunused-variable] Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/mfd/axp20x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)