summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/devices-da8xx.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2012-03-30 22:13:53 +0200
committerSekhar Nori <nsekhar@ti.com>2012-04-19 01:50:30 +0530
commitd65566e50b35165c5d89cd6ea5049662ae6da43b (patch)
tree3dcd5f4c2450748d176d89a0d280f8aad3779803 /arch/arm/mach-davinci/devices-da8xx.c
parent4a6e6a5eb3f8309273b389ca74538f65af203f6c (diff)
downloadtalos-obmc-linux-d65566e50b35165c5d89cd6ea5049662ae6da43b.tar.gz
talos-obmc-linux-d65566e50b35165c5d89cd6ea5049662ae6da43b.zip
ARM: davinci: mark spi_board_info arguments as const
spi_board_info is not modified in any of the spi registeration functions and passed along as-is to the generic SPI layer. Mark spi_board_info arguments as const to signal this. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> [nsekhar@ti.com: extended for dm365 and dm355] Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/devices-da8xx.c')
-rw-r--r--arch/arm/mach-davinci/devices-da8xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c
index 42dbf3dc11ab..d1624a315c9a 100644
--- a/arch/arm/mach-davinci/devices-da8xx.c
+++ b/arch/arm/mach-davinci/devices-da8xx.c
@@ -831,7 +831,7 @@ static struct platform_device da8xx_spi_device[] = {
},
};
-int __init da8xx_register_spi(int instance, struct spi_board_info *info,
+int __init da8xx_register_spi(int instance, const struct spi_board_info *info,
unsigned len)
{
int ret;
OpenPOWER on IntegriCloud