aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/card/block.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-03-20 06:00:24 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-03-20 21:29:53 -0400
commit88187398cc5fa6650f38b9dcd5464667f468888f (patch)
treeeb9d45cdbe4506340b1131951bc7f2dba2f2a796 /drivers/mmc/card/block.c
parenta051f71ce97c53cde3ac64de64eb02d658d9308e (diff)
debugfs-related mode_t whack-a-mole
all of those should be umode_t... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/mmc/card/block.c')
-rw-r--r--drivers/mmc/card/block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index c6a383d0244d..e5a3c7b6dedb 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -1685,7 +1685,7 @@ static int mmc_add_disk(struct mmc_blk_data *md)
1685 1685
1686 if ((md->area_type & MMC_BLK_DATA_AREA_BOOT) && 1686 if ((md->area_type & MMC_BLK_DATA_AREA_BOOT) &&
1687 card->ext_csd.boot_ro_lockable) { 1687 card->ext_csd.boot_ro_lockable) {
1688 mode_t mode; 1688 umode_t mode;
1689 1689
1690 if (card->ext_csd.boot_ro_lock & EXT_CSD_BOOT_WP_B_PWR_WP_DIS) 1690 if (card->ext_csd.boot_ro_lock & EXT_CSD_BOOT_WP_B_PWR_WP_DIS)
1691 mode = S_IRUGO; 1691 mode = S_IRUGO;