diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-11-26 00:51:09 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-11-26 00:51:09 +0000 |
commit | ee7cf6c63c67222dcf9af6f40098428c577ee775 (patch) | |
tree | 3fd27260b04243d9fc3c4735c68b92d9d58faccb /firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c | |
parent | 82bbd1ed9f93020ef49ef91ca3282c4c29d6be88 (diff) | |
download | rockbox-ee7cf6c63c67222dcf9af6f40098428c577ee775.tar.gz 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.c | 2 |
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) | |||
1200 | return -1; | 1200 | return -1; |
1201 | } | 1201 | } |
1202 | 1202 | ||
1203 | bool card_detect_target(void) | 1203 | static inline bool card_detect_target(void) |
1204 | { | 1204 | { |
1205 | return (jz_sd_chkcard() == 1); | 1205 | return (jz_sd_chkcard() == 1); |
1206 | } | 1206 | } |