]> git.dujemihanovic.xyz Git - u-boot.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)
commit8a8a8314ce669a5faaad4ddfdbef14551ec452b3
treeb672502b232890b5a7155d607937fc27bf186fee
parent60868632f6d89f71aca547df01a075149ad96357
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