summaryrefslogtreecommitdiff
path: root/board/trab/tsc2000.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-08-13 00:32:14 -0400
committerWolfgang Denk <wd@denx.de>2009-08-13 09:20:41 +0200
commitf6e3a1fa92f61083885178101e973c86b419a6f7 (patch)
tree2629e15fe256a1ebbf3f8544083ae2122e048916 /board/trab/tsc2000.c
parent253cb831f5861358a7fa673305cdf7ded1096f44 (diff)
downloadu-boot-imx-f6e3a1fa92f61083885178101e973c86b419a6f7.zip
u-boot-imx-f6e3a1fa92f61083885178101e973c86b419a6f7.tar.gz
u-boot-imx-f6e3a1fa92f61083885178101e973c86b419a6f7.tar.bz2
trab: rename spi_init()
The local board-specific spi_init() function conflicts with the common SPI layer, so rename it to something board-specific. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/trab/tsc2000.c')
-rw-r--r--board/trab/tsc2000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/trab/tsc2000.c b/board/trab/tsc2000.c
index f13a5a9..986b6fb 100644
--- a/board/trab/tsc2000.c
+++ b/board/trab/tsc2000.c
@@ -42,7 +42,7 @@
*/
#define MAX_DEVIATION 18 /* unit: DIGITs of adc; 18 DIGIT = 0.5 °C */
-void spi_init(void)
+void tsc2000_spi_init(void)
{
S3C24X0_GPIO * const gpio = S3C24X0_GetBase_GPIO();
S3C24X0_SPI * const spi = S3C24X0_GetBase_SPI();