• Russell King's avatar
    [MMC] Add comment about GENHD_FL_REMOVABLE to mmc_block · 8e7e4852
    Russell King authored
    We don't set GENHD_FL_REMOVABLE because this flag indicates that
    the media may be removed while the block device persists.  Since
    MMC destroys the block device when the card (media + on-board
    controller) is removed, the block device will never exist without
    media present.  Therefore, setting GENHD_FL_REMOVABLE would be
    misleading.
    Signed-off-by: default avatarRussell King <rmk@arm.linux.org.uk>
    8e7e4852
mmc_block.c 10.9 KB