diff options
| author | Simon Glass <[email protected]> | 2024-09-01 16:26:13 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-09-18 13:00:59 -0600 |
| commit | ec811ab654c63a9c8dc355f496760e465bc6a618 (patch) | |
| tree | cbfc9dd2623798a46d9bcea0dac18763455bca39 /drivers | |
| parent | 48fef88f94ef00a697724259e53ca4787ca5f89d (diff) | |
nvmxip: Avoid probing on boot
Devices should be probed when they are used, not before. Drop this
boot-time probing.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/mtd/nvmxip/nvmxip-uclass.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/mtd/nvmxip/nvmxip-uclass.c b/drivers/mtd/nvmxip/nvmxip-uclass.c index 58e8c3fb74b..d18bd0e3d6b 100644 --- a/drivers/mtd/nvmxip/nvmxip-uclass.c +++ b/drivers/mtd/nvmxip/nvmxip-uclass.c @@ -53,14 +53,7 @@ int nvmxip_probe(struct udevice *udev) return 0; } -static int nvmxip_post_bind(struct udevice *udev) -{ - dev_or_flags(udev, DM_FLAG_PROBE_AFTER_BIND); - return 0; -} - UCLASS_DRIVER(nvmxip) = { .name = "nvmxip", .id = UCLASS_NVMXIP, - .post_bind = nvmxip_post_bind, }; |
