ARM: lpc32xx: remove duplicate const on lpc32xx_auxdata_lookup
authorVladimir Zapolskiy <vz@mleia.com>
Mon, 18 Apr 2016 01:37:38 +0000 (04:37 +0300)
committerVladimir Zapolskiy <vz@mleia.com>
Wed, 27 Apr 2016 21:45:12 +0000 (00:45 +0300)
Remove redundant duplicate const, which is found by smatch:

  arch/arm/mach-lpc32xx/phy3250.c:162:42: warning: duplicate const

Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
arch/arm/mach-lpc32xx/phy3250.c

index b2f9e226febeee970b0594c8be030a4838735e7c..1ae72307252117992b5030902b2ef325fdde7c40 100644 (file)
@@ -159,7 +159,7 @@ static struct lpc32xx_mlc_platform_data lpc32xx_mlc_data = {
        .dma_filter = pl08x_filter_id,
 };
 
-static const struct of_dev_auxdata const lpc32xx_auxdata_lookup[] __initconst = {
+static const struct of_dev_auxdata lpc32xx_auxdata_lookup[] __initconst = {
        OF_DEV_AUXDATA("arm,pl022", 0x20084000, "dev:ssp0", NULL),
        OF_DEV_AUXDATA("arm,pl022", 0x2008C000, "dev:ssp1", NULL),
        OF_DEV_AUXDATA("arm,pl110", 0x31040000, "dev:clcd", &lpc32xx_clcd_data),