|
@@ -384,15 +384,6 @@ static void n8x0_mmc_callback(void *data, u8 card_mask)
|
|
|
omap_mmc_notify_cover_event(mmc_device, index, *openp);
|
|
|
}
|
|
|
|
|
|
-void n8x0_mmc_slot1_cover_handler(void *arg, int closed_state)
|
|
|
-{
|
|
|
- if (mmc_device == NULL)
|
|
|
- return;
|
|
|
-
|
|
|
- slot1_cover_open = !closed_state;
|
|
|
- omap_mmc_notify_cover_event(mmc_device, 0, closed_state);
|
|
|
-}
|
|
|
-
|
|
|
static int n8x0_mmc_late_init(struct device *dev)
|
|
|
{
|
|
|
int r, bit, *openp;
|
|
@@ -512,7 +503,7 @@ static struct omap_mmc_platform_data mmc1_data = {
|
|
|
|
|
|
static struct omap_mmc_platform_data *mmc_data[OMAP24XX_NR_MMC];
|
|
|
|
|
|
-void __init n8x0_mmc_init(void)
|
|
|
+static void __init n8x0_mmc_init(void)
|
|
|
|
|
|
{
|
|
|
int err;
|
|
@@ -561,11 +552,6 @@ void __init n8x0_mmc_init(void)
|
|
|
void __init n8x0_mmc_init(void)
|
|
|
{
|
|
|
}
|
|
|
-
|
|
|
-void n8x0_mmc_slot1_cover_handler(void *arg, int state)
|
|
|
-{
|
|
|
-}
|
|
|
-
|
|
|
#endif /* CONFIG_MMC_OMAP */
|
|
|
|
|
|
#ifdef CONFIG_MENELAUS
|