提交 8422ddf7 编写于 作者: M Mathias Krause 提交者: Mark Brown

spi: pxa2xx: Constify ACPI device ids

Constify the ACPI device ID array, it doesn't need to be writable at
runtime.
Signed-off-by: NMathias Krause <minipli@googlemail.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 6356437e
......@@ -1265,7 +1265,7 @@ static void cleanup(struct spi_device *spi)
#ifdef CONFIG_ACPI
static struct acpi_device_id pxa2xx_spi_acpi_match[] = {
static const struct acpi_device_id pxa2xx_spi_acpi_match[] = {
{ "INT33C0", LPSS_LPT_SSP },
{ "INT33C1", LPSS_LPT_SSP },
{ "INT3430", LPSS_LPT_SSP },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册