From patchwork Thu Nov 20 12:57:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 41238 Return-Path: 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 ; Thu, 20 Nov 2014 12:58:59 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id l18sf1678403wgh.10 for ; 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 (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 ; 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 ; 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 + 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 ); Thu, 20 Nov 2014 07:57:45 -0500 Received: by mail-ie0-f177.google.com with SMTP id rd18so2532453iec.8 for ; 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 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Nov 2014 04:57:44 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Lee Jones 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: 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: , List-Help: , List-Archive: List-Unsubscribe: , axp20x.c:239:30: warning: ‘axp20x_acpi_match’ defined but not used [-Wunused-variable] Signed-off-by: Lee Jones --- drivers/mfd/axp20x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,