]> git.dujemihanovic.xyz Git - u-boot.git/commit
ide: Move bus init into a function
authorSimon Glass <sjg@chromium.org>
Tue, 25 Apr 2023 16:54:42 +0000 (10:54 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 27 Apr 2023 17:51:06 +0000 (13:51 -0400)
commitb6483ea22355b097c061bd551bfcd5eb84a39e79
tree8133fed5c988da0120f65b6efaf271baed53581c
parent8b1b943a7aa3c2d071982b99220cdee49ed2c5fb
ide: Move bus init into a function

Move this code into a separate function which returns whether the bus was
found, or not.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/block/ide.c