summaryrefslogtreecommitdiffstats
path: root/drivers/staging/mt7621-mmc/sd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/mt7621-mmc/sd.c')
-rw-r--r--drivers/staging/mt7621-mmc/sd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c
index 45d9b62f4a58..cfe7517f8bdf 100644
--- a/drivers/staging/mt7621-mmc/sd.c
+++ b/drivers/staging/mt7621-mmc/sd.c
@@ -218,10 +218,6 @@ static u32 hclks[] = {50000000}; /* +/- by chhung */
writel((cmd), host->base + SDC_CMD); \
} while (0)
-// can modify to read h/w register.
-//#define is_card_present(h) ((readl(MSDC_PS) & MSDC_PS_CDSTS) ? 0 : 1);
-#define is_card_present(h) (((struct msdc_host *)(h))->card_inserted)
-
/* +++ by chhung */
#ifndef __ASSEMBLY__
#define PHYSADDR(a) (((unsigned long)(a)) & 0x1fffffff)