Skip to content

Commit ec29d22

Browse files
geertuawilliam
authored andcommitted
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. 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>
1 parent 8512ed2 commit ec29d22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/vfio/platform/vfio_amba.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,16 +122,16 @@ static const struct vfio_device_ops vfio_amba_ops = {
122122
.detach_ioas = vfio_iommufd_physical_detach_ioas,
123123
};
124124

125-
static const struct amba_id pl330_ids[] = {
125+
static const struct amba_id vfio_amba_ids[] = {
126126
{ 0, 0 },
127127
};
128128

129-
MODULE_DEVICE_TABLE(amba, pl330_ids);
129+
MODULE_DEVICE_TABLE(amba, vfio_amba_ids);
130130

131131
static struct amba_driver vfio_amba_driver = {
132132
.probe = vfio_amba_probe,
133133
.remove = vfio_amba_remove,
134-
.id_table = pl330_ids,
134+
.id_table = vfio_amba_ids,
135135
.drv = {
136136
.name = "vfio-amba",
137137
.owner = THIS_MODULE,

0 commit comments

Comments
 (0)