vfio/fsl-mc: Make vfio_fsl_mc_irqs_allocate static
authorDiana Craciun <diana.craciun@oss.nxp.com>
Mon, 26 Oct 2020 16:53:36 +0000 (18:53 +0200)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 3 Nov 2020 18:07:40 +0000 (11:07 -0700)
commit8e91cb3812121aca8369d6c4e717ddd072280d0f
tree786c4f487ec4aae454555fdbe716939e71b33f2f
parent69848cd6f0c1fb4f82ab255b730343a215ded013
vfio/fsl-mc: Make vfio_fsl_mc_irqs_allocate static

Fixed compiler warning:
drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c:16:5: warning: no previous
prototype for function 'vfio_fsl_mc_irqs_allocate' [-Wmissing-prototypes]
       ^
drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c:16:1: note: declare 'static'
if the function is not intended to be used outside of this translation unit
int vfio_fsl_mc_irqs_allocate(struct vfio_fsl_mc_device *vdev)

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c