summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/nds/libnds/source/common/card.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-09 15:35:10 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-10 10:17:33 -0500
commitef4c4612e2c21feae24c0ea47a83942cbcebc465 (patch)
treea5415da86f64e02c33a54c9da7dcf134762c0be1 /c/src/lib/libbsp/arm/nds/libnds/source/common/card.c
parentpowerpc/ep1a: Remove if 0 sections (diff)
downloadrtems-ef4c4612e2c21feae24c0ea47a83942cbcebc465.tar.bz2
arm/nds: Warning clean up
This patch eliminates most of the warnings in this BSP but attempts very little clean up. This BSP includes copies of a lot of code from free NDS libraries and modifications should be kept to a minimum.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/arm/nds/libnds/source/common/card.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/nds/libnds/source/common/card.c b/c/src/lib/libbsp/arm/nds/libnds/source/common/card.c
index 7cde3811e7..523bb6ca68 100644
--- a/c/src/lib/libbsp/arm/nds/libnds/source/common/card.c
+++ b/c/src/lib/libbsp/arm/nds/libnds/source/common/card.c
@@ -173,6 +173,7 @@ int cardEepromGetType(void)
sysSetBusOwners(BUS_OWNER_ARM9, BUS_OWNER_ARM9);
#endif
+ (void) c03; /* avoid set but not used warning */
c03=cardEepromCommand(0x03,0);
c05=cardEepromCommand(0x05,0);
c9f=cardEepromCommand(0x9f,0);