From ee7cf6c63c67222dcf9af6f40098428c577ee775 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Thu, 26 Nov 2009 00:51:09 +0000 Subject: 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 --- firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c') 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); } -- cgit v1.2.3