mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
virtio: Drop empty bootdev_ops structure
We don't need to provide an empty struct here now that the caller can handle this being empty. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -400,9 +400,6 @@ UCLASS_DRIVER(virtio) = {
|
||||
.per_device_auto = sizeof(struct virtio_dev_priv),
|
||||
};
|
||||
|
||||
struct bootdev_ops virtio_bootdev_ops = {
|
||||
};
|
||||
|
||||
static const struct udevice_id virtio_bootdev_ids[] = {
|
||||
{ .compatible = "u-boot,bootdev-virtio" },
|
||||
{ }
|
||||
@@ -411,7 +408,6 @@ static const struct udevice_id virtio_bootdev_ids[] = {
|
||||
U_BOOT_DRIVER(virtio_bootdev) = {
|
||||
.name = "virtio_bootdev",
|
||||
.id = UCLASS_BOOTDEV,
|
||||
.ops = &virtio_bootdev_ops,
|
||||
.bind = virtio_bootdev_bind,
|
||||
.of_match = virtio_bootdev_ids,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user