diff --git a/target/linux/xburst/files-2.6.31/arch/mips/jz4740/proc.c b/target/linux/xburst/files-2.6.31/arch/mips/jz4740/proc.c index e9c5df3f6..f083705c9 100644 --- a/target/linux/xburst/files-2.6.31/arch/mips/jz4740/proc.c +++ b/target/linux/xburst/files-2.6.31/arch/mips/jz4740/proc.c @@ -517,31 +517,6 @@ static int udc_read_proc(char *page, char **start, off_t off, return len; } -/* - * MMC/SD hotplug - */ - -#ifndef MSC_HOTPLUG_PIN -#define MSC_HOTPLUG_PIN 90 -#endif - -static int mmc_read_proc (char *page, char **start, off_t off, - int count, int *eof, void *data) -{ - int len = 0; - -#if defined(CONFIG_JZ4740_LYRA) - if (!(__gpio_get_pin(MSC_HOTPLUG_PIN))) -#else - if (__gpio_get_pin(MSC_HOTPLUG_PIN)) -#endif - len += sprintf (page+len, "REMOVE\n"); - else - len += sprintf (page+len, "INSERT\n"); - - return len; -} - /*********************************************************************** * IPU memory management (used by mplayer and other apps) * @@ -832,14 +807,6 @@ static int __init jz_proc_init(void) res->data = NULL; } - /* mmc hotplug */ - res = create_proc_entry("mmc", 0644, proc_jz_root); - if (res) { - res->read_proc = mmc_read_proc; - res->write_proc = NULL; - res->data = NULL; - } - /* * Reserve a 4MB memory for IPU on JZ4740. */