]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
vfio: amba: Rename pl330_ids[] to vfio_amba_ids[]
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 26 Feb 2024 11:09:26 +0000 (12:09 +0100)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 4 Mar 2024 22:10:49 +0000 (15:10 -0700)
Obviously drivers/vfio/platform/vfio_amba.c started its life as a
simplified copy of drivers/dma/pl330.c, but not all variable names were
updated.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/1d1b873b59b208547439225aee1f24d6f2512a1f.1708945194.git.geert+renesas@glider.be
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/platform/vfio_amba.c

index 6464b3939ebcfb5304511d42aedc9bb5d9a3393a..485c6f9161a91be0276ed273602b9c158c823fad 100644 (file)
@@ -122,16 +122,16 @@ static const struct vfio_device_ops vfio_amba_ops = {
        .detach_ioas    = vfio_iommufd_physical_detach_ioas,
 };
 
-static const struct amba_id pl330_ids[] = {
+static const struct amba_id vfio_amba_ids[] = {
        { 0, 0 },
 };
 
-MODULE_DEVICE_TABLE(amba, pl330_ids);
+MODULE_DEVICE_TABLE(amba, vfio_amba_ids);
 
 static struct amba_driver vfio_amba_driver = {
        .probe = vfio_amba_probe,
        .remove = vfio_amba_remove,
-       .id_table = pl330_ids,
+       .id_table = vfio_amba_ids,
        .drv = {
                .name = "vfio-amba",
                .owner = THIS_MODULE,