block: ide: call device_probe() after scanning
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 8 Mar 2022 11:36:44 +0000 (20:36 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 9 Apr 2022 19:06:31 +0000 (21:06 +0200)
commit4c73b0344230129ec7493cf425922791e6132a30
tree10c431836a299fda0b66cdb217fcd4dd97dea118
parentc662edd6de9002176f62c05c6fe71bd5b4e84c4c
block: ide: call device_probe() after scanning

Every time an ide bus/port is scanned and a new device is detected,
we want to call device_probe() as it will give us a chance to run
additional post-processings for some purposes.

In particular, support for creating partitions on a device will be added.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/block/ide.c