summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-11-26 00:51:09 +0000
committerThomas Martitz <kugel@rockbox.org>2009-11-26 00:51:09 +0000
commitee7cf6c63c67222dcf9af6f40098428c577ee775 (patch)
tree3fd27260b04243d9fc3c4735c68b92d9d58faccb /firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
parent82bbd1ed9f93020ef49ef91ca3282c4c29d6be88 (diff)
downloadrockbox-ee7cf6c63c67222dcf9af6f40098428c577ee775.tar.gz
rockbox-ee7cf6c63c67222dcf9af6f40098428c577ee775.tar.bz2
rockbox-ee7cf6c63c67222dcf9af6f40098428c577ee775.zip
Remove unused card_detect(), and make card_detect_target() static inline in each sd driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23757 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
index 544e0cf481..f3d67aec51 100644
--- a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
@@ -1200,7 +1200,7 @@ int sd_init(void)
return -1;
}
-bool card_detect_target(void)
+static inline bool card_detect_target(void)
{
return (jz_sd_chkcard() == 1);
}