Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752466AbbFXLAF (ORCPT ); Wed, 24 Jun 2015 07:00:05 -0400 Received: from mail-wg0-f46.google.com ([74.125.82.46]:34251 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751552AbbFXK77 (ORCPT ); Wed, 24 Jun 2015 06:59:59 -0400 Date: Wed, 24 Jun 2015 11:59:54 +0100 From: Lee Jones To: Mathias Krause Cc: Samuel Ortiz , "Rafael J. Wysocki" , Len Brown , linux-kernel@vger.kernel.org, "Yang, Bin" , "Zhu, Lejun" Subject: Re: [PATCH] mfd: intel_soc_pmic: Constify ACPI device ids Message-ID: <20150624105954.GF15013@x1> References: <1434198051-8121-1-git-send-email-minipli@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1434198051-8121-1-git-send-email-minipli@googlemail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1381 Lines: 38 On Sat, 13 Jun 2015, Mathias Krause wrote: > Constify the ACPI device ID array, it doesn't need to be writable at > runtime. > > Signed-off-by: Mathias Krause > Cc: Yang, Bin > Cc: Zhu, Lejun > --- > drivers/mfd/intel_soc_pmic_core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied for v4.3, thanks. > diff --git a/drivers/mfd/intel_soc_pmic_core.c b/drivers/mfd/intel_soc_pmic_core.c > index 7b50b6b208a5..27e7552a29dd 100644 > --- a/drivers/mfd/intel_soc_pmic_core.c > +++ b/drivers/mfd/intel_soc_pmic_core.c > @@ -147,7 +147,7 @@ static const struct i2c_device_id intel_soc_pmic_i2c_id[] = { > MODULE_DEVICE_TABLE(i2c, intel_soc_pmic_i2c_id); > > #if defined(CONFIG_ACPI) > -static struct acpi_device_id intel_soc_pmic_acpi_match[] = { > +static const struct acpi_device_id intel_soc_pmic_acpi_match[] = { > {"INT33FD", (kernel_ulong_t)&intel_soc_pmic_config_crc}, > { }, > }; -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/