vfio: amba: Rename pl330_ids[] to vfio_amba_ids[]
Subsystems (3)
PATCH 1/1 vfio: amba: Rename pl330_ids[] to vfio_amba_ids[]
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.
--- drivers/vfio/platform/vfio_amba.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/vfio/platform/vfio_amba.c +3 -3
@@ -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 ,
Signature · 1 line
2.34.1
CC Antonios' new address
(time to update all references in the Linux kernel source tree?)
Quoted 34 lines · Geert Uytterhoeven
Obviously
drivers/vfio/platform/vfio_amba.cstarted its life as a simplified copy ofdrivers/dma/pl330.c, but not all variable names were updated.Signed-off-by Geert Uytterhoeven <[email protected]>--- drivers/vfio/platform/vfio_amba.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/vfio/platform/vfio_amba.c +3
-4@@ -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 , --
Quoted 1 line
2.34.1
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Quoted 8 lines · Geert Uytterhoeven
Obviously
drivers/vfio/platform/vfio_amba.cstarted its life as a simplified copy ofdrivers/dma/pl330.c, but not all variable names were updated.Signed-off-by Geert Uytterhoeven <[email protected]>--- drivers/vfio/platform/vfio_amba.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Jason
Alex Williamson
AppliedQuoted 23 lines · On Mon, 26 Feb 2024 12:09:26 +0100 Geert Uytterhoeven…
Obviously
drivers/vfio/platform/vfio_amba.cstarted its life as a simplified copy ofdrivers/dma/pl330.c, but not all variable names were updated.Signed-off-by Geert Uytterhoeven <[email protected]>--- drivers/vfio/platform/vfio_amba.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/vfio/platform/vfio_amba.c +1
-2@@ -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);
drivers/vfio/platform/vfio_amba.c static const struct vfio_device_ops vfio_amba_ops = { · line 137
Quoted 10 lines
drivers/vfio/platform/vfio_amba.c +2
-1+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 ,
Applied to vfio next branch for v6.9. Thanks,
Alex