base address of SPI controller is 'const'
git-svn-id: https://svn.openpcd.org:2342/trunk@180 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
This commit is contained in:
parent
2f7e1d317e
commit
183a6122a2
|
@ -50,7 +50,7 @@
|
|||
|
||||
#define SPI_MAX_XFER_LEN 65
|
||||
|
||||
static AT91PS_SPI pSPI = AT91C_BASE_SPI;
|
||||
static const AT91PS_SPI pSPI = AT91C_BASE_SPI;
|
||||
|
||||
/* SPI irq handler */
|
||||
static void spi_irq(void)
|
||||
|
|
Loading…
Reference in New Issue