summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-04-12 05:11:50 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-04-12 05:11:50 +0000
commitef97db1011b57bb41946fe1e124d5b64a1320af3 (patch)
treeb836d0e220439af7961fbc13439a11bd58cf534b /firmware/target/arm
parentb70239e15be75af440abcbb4ef2debf955bca596 (diff)
Big oops. Fix enum spi_module_number to set right enum values. :p.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17079 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/spi-imx31.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/spi-imx31.h b/firmware/target/arm/imx31/gigabeat-s/spi-imx31.h
index c17a272aaa..07084832ad 100644
--- a/firmware/target/arm/imx31/gigabeat-s/spi-imx31.h
+++ b/firmware/target/arm/imx31/gigabeat-s/spi-imx31.h
@@ -26,8 +26,9 @@
/* SPI_MODULE_MASK is set in target's config */
enum spi_module_number
{
+ __CSPI_NUM_START = -1, /* The first will be 0 */
#if (SPI_MODULE_MASK & USE_CSPI1_MODULE)
- CSPI1_NUM = 0,
+ CSPI1_NUM,
#endif
#if (SPI_MODULE_MASK & USE_CSPI2_MODULE)
CSPI2_NUM,