vfio: Move vfio.c to vfio_main.c
authorJason Gunthorpe <jgg@nvidia.com>
Sun, 31 Jul 2022 12:54:56 +0000 (15:54 +0300)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 8 Aug 2022 20:33:41 +0000 (14:33 -0600)
commit0f3e72b5c8cfa0b57dc4fc7703a0a42dbc200ba9
treeb2b62ff0a3db33f79e382542224c1053e6cdcc08
parentc8a684e2e110376c58f0bfa30fb3855d1e319670
vfio: Move vfio.c to vfio_main.c

If a source file has the same name as a module then kbuild only supports
a single source file in the module.

Rename vfio.c to vfio_main.c so that we can have more that one .c file
in vfio.ko.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/20220731125503.142683-5-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/Makefile
drivers/vfio/vfio_main.c [moved from drivers/vfio/vfio.c with 100% similarity]