]> git.baikalelectronics.ru Git - kernel.git/commit
AT91: at91sam9261ek board: remove warnings related to use of SPI or SD/MMC
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 10 Sep 2010 09:26:42 +0000 (11:26 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 10 Sep 2010 10:00:56 +0000 (12:00 +0200)
commit937a804852091628381d6a17259d777c342805b8
tree3b36de76c98d8951425bd6af67580d474a7f4a41
parent26ea581d9e6005aefe4d07e4de8d03d76db1d22e
AT91: at91sam9261ek board: remove warnings related to use of SPI or SD/MMC

The sd/mmc data structure is not used if SPI is selected. The configuration
of PIO on the board prevent from using both interfaces at the same time
(board dependent).
Remove the warnings at compilation time adding a preprocessor condition.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/board-sam9261ek.c