From c2db2b6accc7888df514261a7240e7759df95a4c Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Fri, 9 Jan 2009 17:51:21 -0800 Subject: auto import from //branches/cupcake/...@125939 --- hw/goldfish_mmc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hw/goldfish_mmc.c') diff --git a/hw/goldfish_mmc.c b/hw/goldfish_mmc.c index a00340c..0daaebd 100644 --- a/hw/goldfish_mmc.c +++ b/hw/goldfish_mmc.c @@ -155,9 +155,10 @@ struct mmc_opcode { { "MMC_GEN_CMD", 56 }, { "SD_APP_OP_COND", 41 }, { "SD_APP_SEND_SCR", 51 }, - { "UNKNOWN" -1 } + { "UNKNOWN", -1 } }; +#if 0 static const char* get_command_name(int command) { struct mmc_opcode* opcode = mmc_opcodes; @@ -165,6 +166,7 @@ static const char* get_command_name(int command) while (opcode->cmd != command && opcode->cmd != -1) opcode++; return opcode->name; } +#endif static void goldfish_mmc_do_command(struct goldfish_mmc_state *s, uint32_t cmd, uint32_t arg) { -- cgit v1.1