]> bbs.cooldavid.org Git - net-next-2.6.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)
commit64d72bbeeb68b536a27319471f212d413f58bf6f
tree3b36de76c98d8951425bd6af67580d474a7f4a41
parent1879c45cce6411fe97b0b65ccad38f5206700dda
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