diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-n8x0.c')
-rw-r--r-- | arch/arm/mach-omap2/board-n8x0.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c index 8fd226989b25..abdcc3963a17 100644 --- a/arch/arm/mach-omap2/board-n8x0.c +++ b/arch/arm/mach-omap2/board-n8x0.c | |||
@@ -384,15 +384,6 @@ static void n8x0_mmc_callback(void *data, u8 card_mask) | |||
384 | omap_mmc_notify_cover_event(mmc_device, index, *openp); | 384 | omap_mmc_notify_cover_event(mmc_device, index, *openp); |
385 | } | 385 | } |
386 | 386 | ||
387 | void n8x0_mmc_slot1_cover_handler(void *arg, int closed_state) | ||
388 | { | ||
389 | if (mmc_device == NULL) | ||
390 | return; | ||
391 | |||
392 | slot1_cover_open = !closed_state; | ||
393 | omap_mmc_notify_cover_event(mmc_device, 0, closed_state); | ||
394 | } | ||
395 | |||
396 | static int n8x0_mmc_late_init(struct device *dev) | 387 | static int n8x0_mmc_late_init(struct device *dev) |
397 | { | 388 | { |
398 | int r, bit, *openp; | 389 | int r, bit, *openp; |
@@ -512,7 +503,7 @@ static struct omap_mmc_platform_data mmc1_data = { | |||
512 | 503 | ||
513 | static struct omap_mmc_platform_data *mmc_data[OMAP24XX_NR_MMC]; | 504 | static struct omap_mmc_platform_data *mmc_data[OMAP24XX_NR_MMC]; |
514 | 505 | ||
515 | void __init n8x0_mmc_init(void) | 506 | static void __init n8x0_mmc_init(void) |
516 | 507 | ||
517 | { | 508 | { |
518 | int err; | 509 | int err; |
@@ -561,11 +552,6 @@ void __init n8x0_mmc_init(void) | |||
561 | void __init n8x0_mmc_init(void) | 552 | void __init n8x0_mmc_init(void) |
562 | { | 553 | { |
563 | } | 554 | } |
564 | |||
565 | void n8x0_mmc_slot1_cover_handler(void *arg, int state) | ||
566 | { | ||
567 | } | ||
568 | |||
569 | #endif /* CONFIG_MMC_OMAP */ | 555 | #endif /* CONFIG_MMC_OMAP */ |
570 | 556 | ||
571 | #ifdef CONFIG_MENELAUS | 557 | #ifdef CONFIG_MENELAUS |