From 183a6122a2a0012c414ebec6a15953e2f6258a39 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> Date: Tue, 12 Sep 2006 16:52:14 +0000 Subject: base address of SPI controller is 'const' git-svn-id: https://svn.openpcd.org:2342/trunk@180 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpcd/firmware/src/pcd/rc632.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpcd/firmware/src/pcd/rc632.c b/openpcd/firmware/src/pcd/rc632.c index 620d0a0..5d45955 100644 --- a/openpcd/firmware/src/pcd/rc632.c +++ b/openpcd/firmware/src/pcd/rc632.c @@ -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) -- cgit v1.2.3