summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-12 16:52:14 +0000
committer(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-12 16:52:14 +0000
commit183a6122a2a0012c414ebec6a15953e2f6258a39 (patch)
tree7bd75d884c1329912529d2d1d113cb832927c5d2
parent2f7e1d317e564a9d4fbebdfd6de2e6b5a95dab1f (diff)
base address of SPI controller is 'const'
git-svn-id: https://svn.openpcd.org:2342/trunk@180 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
-rw-r--r--openpcd/firmware/src/pcd/rc632.c2
1 files changed, 1 insertions, 1 deletions
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)
personal git repositories of Harald Welte. Your mileage may vary