diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/card/block.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/brocade/bna/bnad_debugfs.c | 2 |
2 files changed, 2 insertions, 2 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; |
diff --git a/drivers/net/ethernet/brocade/bna/bnad_debugfs.c b/drivers/net/ethernet/brocade/bna/bnad_debugfs.c index 592ad3929f53..df18a8337624 100644 --- a/drivers/net/ethernet/brocade/bna/bnad_debugfs.c +++ b/drivers/net/ethernet/brocade/bna/bnad_debugfs.c | |||
@@ -531,7 +531,7 @@ static const struct file_operations bnad_debugfs_op_drvinfo = { | |||
531 | 531 | ||
532 | struct bnad_debugfs_entry { | 532 | struct bnad_debugfs_entry { |
533 | const char *name; | 533 | const char *name; |
534 | mode_t mode; | 534 | umode_t mode; |
535 | const struct file_operations *fops; | 535 | const struct file_operations *fops; |
536 | }; | 536 | }; |
537 | 537 | ||