summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-04-24 13:47:02 +0300
committerMichael S. Tsirkin <mst@redhat.com>2026-06-10 09:16:59 +0300
commit4f3da991b55c940cedb563836fe11ddfb3ff9248 (patch)
tree4dc03304ba6e2f5d3c4fc3d77414d817fd69e609 /include/linux/platform_data
parent7cdaeef19bc87bb93f3083b11dda92e3e9ff855c (diff)
downloadlinux-4f3da991b55c940cedb563836fe11ddfb3ff9248.tar.xz
vdpa_sim_blk: 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-2-johan@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions