linux_dsm_epyc7002/arch/arm/mach-davinci/include/mach
Vivien Didelot 0273612cb8 ARM: davinci: da8xx_register_spi() should not register SPI board info
Without this patch, da8xx_register_spi() registers the SPI board info,
the SPI controller, and sets its number of chipselect to the size of the
static spi_board_info array. This is bad because a SPI board info may
declare devices for different SPI buses, and because other code can also
call spi_register_board_info() (e.g. a daughter board might provide
additional SPI devices).

This patch removes the spi_register_board_info() call from
da8xx_register_spi(), renames this last one to da8xx_register_spi_bus()
to be more explicit, takes the number of chipselect as a function
parameter, and updates the impacted board-da8{3,5}0-evm.c, and
board-mityomapl138.c files accordingly. It also sets the SPI platform
data static, as it doesn't need to be exported.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
[nsekhar@ti.com: fixed conflicts with v3.7-rc7, converted to use pr_warn(),
modified print messages to use __func__]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2013-01-03 17:30:35 +05:30
..
cdce949.h davinci: add support for CDCE949 clock synthesizer 2010-02-04 13:29:58 -08:00
clock.h davinci: major rework of clock, PLL, PSC infrastructure 2009-04-23 09:31:00 -07:00
common.h ARM: davinci: sram: switch from iotable to ioremapped regions 2012-10-27 16:28:33 +05:30
cp_intc.h ARM: davinci: cp_intc: Add OF support for TI interrupt controller 2012-07-05 14:12:35 +05:30
cpufreq.h davinci: DA850/OMAP-L138: avoid using separate initcall for initializing regulator 2009-11-25 10:21:37 -08:00
cpuidle.h davinci: cpuidle: move mapping of DDR2 controller registers out of driver 2010-02-04 13:29:38 -08:00
cputype.h Fix common misspellings 2011-03-31 11:26:23 -03:00
da8xx.h ARM: davinci: da8xx_register_spi() should not register SPI board info 2013-01-03 17:30:35 +05:30
ddr2.h ARM: mach-davinci: remove mach/memory.h 2011-10-13 12:49:47 -04:00
debug-macro.S ARM: davinci: implement DEBUG_LL port choice 2012-05-09 17:06:41 +05:30
edma.h ARM: davinci: map default_queue to edma channels 2012-02-03 00:52:15 +05:30
entry-macro.S ARM: davinci: da8xx: fix interrupt handling 2012-07-09 16:01:11 +05:30
gpio-davinci.h ARM: 7040/1: mach-davinci: break out GPIO driver specifics 2011-08-22 09:12:56 +01:00
gpio.h ARM: 7142/1: davinci: mark GPIO implementation complex 2011-11-05 19:09:47 +00:00
hardware.h ARM: davinci: implement DEBUG_LL port choice 2012-05-09 17:06:41 +05:30
irqs.h Davinci: tnetv107x IRQ definitions 2010-05-06 15:02:05 -07:00
mux.h [media] ARM: davinci: da850: Add SoC related definitions for VPIF 2012-10-05 21:58:35 -03:00
pm.h davinci: add power management support 2010-02-04 13:29:55 -08:00
psc.h [media] ARM: davinci: da850: Add SoC related definitions for VPIF 2012-10-05 21:58:35 -03:00
serial.h ARM: arm-soc: SoC updates for 3.8 2012-12-12 12:05:15 -08:00
sram.h ARM: davinci: add platform hook to fetch the SRAM pool 2012-10-27 16:28:35 +05:30
time.h davinci: Add watchdog base address flexibility 2009-05-26 08:20:31 -07:00
timex.h davinci: explain CLOCK_TICK_RATE of 27MHz in include/mach/timex.h 2010-02-04 13:29:41 -08:00
tnetv107x.h ARM: davinci: move platform_data definitions 2012-09-14 11:16:54 +02:00
uncompress.h ARM: davinci: uncompress.h: bail out if uart not initialized 2012-10-27 16:31:04 +05:30