diff options
| author | Johan Hovold <johan@kernel.org> | 2026-04-24 13:47:03 +0300 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-06-10 09:17:00 +0300 |
| commit | e13fc46b4dd1e8f8bb913229dc307bf1ce08ea77 (patch) | |
| tree | 22588c3ce3d51c8b0099df72893c73c9dece57e7 /include | |
| parent | 4f3da991b55c940cedb563836fe11ddfb3ff9248 (diff) | |
| download | linux-e13fc46b4dd1e8f8bb913229dc307bf1ce08ea77.tar.xz | |
vdpa_sim_net: switch to dynamic root device
Driver core expects devices to be dynamically allocated and will, for
example, complain loudly when no release function has been provided.
Use root_device_register() to allocate and register the root device
instead of open coding using a static device.
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260424104703.2619093-3-johan@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
