hi,
if you need to atmel_spi.h for mainline for other drivers you need to post
your patch.
The at91_spi.h header is also use by the original SPI stack. The
atmel_spi and mtd_dataflash don't work properly for AT91RM9200-based
boards, therefore out-of-tree drivers need to be used.
http://maxim.org.za/at91_26.html
(And I have spent way too many hours trying to get atmel_spi to work)
Regards,
Andrew Victor