]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: pci_mmc: Set the removable flag
authorSimon Glass <sjg@chromium.org>
Thu, 14 Jan 2021 03:29:54 +0000 (20:29 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 27 Jan 2021 22:03:16 +0000 (17:03 -0500)
commitbe49ae5652d8313c5b3d9013e771efa07f50a52f
treeb672502b232890b5a7155d607937fc27bf186fee
parent26730420de163038610796e834cbd7aad8926a86
mmc: pci_mmc: Set the removable flag

Set this flag so that it is available to those looking at the device. For
non-removable devices there is no need to check for insertion/removable
since the media can never change.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/pci_mmc.c