1
0
Fork 0
alistair23-linux/arch/arm/mach-davinci
Arnd Bergmann eec51afc9d ARM: davinci: mark spi_board_info arrays as const
Building with LTO revealed that three spi_board_info arrays are marked
__initconst, but not const:

arch/arm/mach-davinci/board-dm365-evm.c: In function 'dm365_evm_init':
arch/arm/mach-davinci/board-dm365-evm.c:729:30: error: 'dm365_evm_spi_info' causes a section type conflict with 'dm646x_edma_device'
 static struct spi_board_info dm365_evm_spi_info[] __initconst = {
                              ^
arch/arm/mach-davinci/dm646x.c:603:42: note: 'dm646x_edma_device' was declared here
 static const struct platform_device_info dm646x_edma_device __initconst = {

This marks them const as well, as was originally intended.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-02-22 17:43:16 +01:00
..
include/mach ARM: davinci: make argument to davinci_common_init() as const 2017-12-23 15:46:24 +05:30
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile.boot License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
aemif.c ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif 2014-02-23 20:33:18 +05:30
asp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-da830-evm.c gpio: pcf857x: move header file out of I2C realm 2017-05-23 11:35:02 +02:00
board-da850-evm.c ARM: davinci: drop unneeded newline 2018-01-05 19:25:14 +05:30
board-dm355-evm.c ARM: davinci: mark spi_board_info arrays as const 2018-02-22 17:43:16 +01:00
board-dm355-leopard.c ARM: davinci: mark spi_board_info arrays as const 2018-02-22 17:43:16 +01:00
board-dm365-evm.c ARM: davinci: mark spi_board_info arrays as const 2018-02-22 17:43:16 +01:00
board-dm644x-evm.c i2c/ARM: davinci: Deep refactoring of I2C recovery 2017-12-31 00:09:39 +01:00
board-dm646x-evm.c mtd: nand: Rename nand.h into rawnand.h 2017-08-13 10:11:49 +02:00
board-mityomapl138.c mach-davinci cleanup to make it easy to add PM support 2016-11-30 14:45:31 +01:00
board-neuros-osd2.c ARM: davinci: constify gpio_led 2018-01-05 19:28:41 +05:30
board-omapl138-hawk.c ARM: davinci: Don't rely on public mmc header to include interrupt.h 2017-02-13 13:20:18 +01:00
board-sffsdr.c mtd: nand: Rename nand.h into rawnand.h 2017-08-13 10:11:49 +02:00
clock.c ARM: davinci: normalize clk API 2017-07-27 13:15:29 +02:00
clock.h ARM: davinci: Make __clk_{enable,disable} functions public 2017-01-02 16:10:42 +05:30
common.c ARM: davinci: make argument to davinci_common_init() as const 2017-12-23 15:46:24 +05:30
cp_intc.c ARM: davinci: use IRQCHIP_DECLARE for cp_intc 2016-04-14 12:09:50 +05:30
cp_intc.h ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
cpuidle.c ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
cpuidle.h ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
da8xx-dt.c ARM: davinci: da8xx-dt: Add OF_DEV_AUXDATA entry for DSP clock matching 2017-09-20 14:57:56 +05:30
da830.c ARM: SoC platform updates for 4.16 2018-02-01 16:17:40 -08:00
da850.c ARM: SoC platform updates for 4.16 2018-02-01 16:17:40 -08:00
davinci.h ARM: davinci: fix build break because of undeclared dm365_evm_snd_data 2016-07-14 14:44:43 +02:00
ddr2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
devices-da8xx.c ARM: davinci: Use PTR_ERR_OR_ZERO() 2017-12-23 15:46:25 +05:30
devices.c ARM: davinci: devices: Remove DMA resources for MMC 2016-10-26 13:42:53 +05:30
dm355.c ARM: davinci: make davinci_soc_info structures const 2017-12-23 15:46:24 +05:30
dm365.c ARM: SoC platform updates for 4.16 2018-02-01 16:17:40 -08:00
dm644x.c ARM: davinci: make davinci_soc_info structures const 2017-12-23 15:46:24 +05:30
dm646x.c ARM: davinci: Use PTR_ERR_OR_ZERO() 2017-12-23 15:46:25 +05:30
irq.c Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc 2011-07-19 22:10:05 -07:00
mux.c ARM: davinci: davinci_cfg_reg cannot be init 2015-02-18 12:20:25 +01:00
mux.h Davinci: eliminate pinmux offset verbosity 2010-05-06 15:02:09 -07:00
pdata-quirks.c ARM: davinci: fix const warnings 2017-06-15 19:18:24 +05:30
pm.c ARM: davinci: PM: Do not free useful resources in normal path in 'davinci_pm_init' 2017-05-17 15:25:18 +05:30
pm_domain.c arm: davinci: remove boilerplate code and use USE_PM_CLK_RUNTIME_OPS 2015-05-12 23:55:38 +02:00
psc.c ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
psc.h ARM: davinci: da850: add clocks for mcbsp0 and 1 2016-06-10 18:22:41 +05:30
serial.c ARM: davinci: serial.c: remove unused serial_read_reg() 2015-01-14 15:56:12 +05:30
sleep.S ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
sram.c ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
sram.h ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
time.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
usb-da8xx.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
usb.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00