[PATCH v5 6/6] dm: mmc: Update mmc_get_mmc_dev() to use const *

Tom Rini trini at konsulko.com
Sun Apr 26 13:26:47 CEST 2020


On Wed, Apr 08, 2020 at 08:33:00AM -0600, Simon Glass wrote:

> This function does not modify the device to change it to use const *, so
> that callers with a const udevice * can call it without a cast.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Jaehoon Chung <jh80.chung at samsung.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200426/bc468712/attachment.sig>


More information about the U-Boot mailing list