summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/fsl-mc
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2022-06-08 12:55:13 -0600
committerAlex Williamson <alex.williamson@redhat.com>2022-06-27 09:38:02 -0600
commitd1877e639bc6bf1c3131eda3f9ede73f8da96c22 (patch)
treec60edf9be566b6258a5ef4116aba99d71176d18a /drivers/vfio/fsl-mc
parent03c765b0e3b4cb5063276b086c76f7a612856a9a (diff)
downloadlinux-stable-d1877e639bc6bf1c3131eda3f9ede73f8da96c22.tar.gz
linux-stable-d1877e639bc6bf1c3131eda3f9ede73f8da96c22.tar.bz2
linux-stable-d1877e639bc6bf1c3131eda3f9ede73f8da96c22.zip
vfio: de-extern-ify function prototypes
The use of 'extern' in function prototypes has been disrecommended in the kernel coding style for several years now, remove them from all vfio related files so contributors no longer need to decide between style and consistency. Reviewed-by: Kevin Tian <kevin.tian@intel.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Reviewed-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/165471414407.203056.474032786990662279.stgit@omen Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/fsl-mc')
-rw-r--r--drivers/vfio/fsl-mc/vfio_fsl_mc_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/fsl-mc/vfio_fsl_mc_private.h b/drivers/vfio/fsl-mc/vfio_fsl_mc_private.h
index 4ad63ececb91..7a29f572f93d 100644
--- a/drivers/vfio/fsl-mc/vfio_fsl_mc_private.h
+++ b/drivers/vfio/fsl-mc/vfio_fsl_mc_private.h
@@ -39,7 +39,7 @@ struct vfio_fsl_mc_device {
struct vfio_fsl_mc_irq *mc_irqs;
};
-extern int vfio_fsl_mc_set_irqs_ioctl(struct vfio_fsl_mc_device *vdev,
+int vfio_fsl_mc_set_irqs_ioctl(struct vfio_fsl_mc_device *vdev,
u32 flags, unsigned int index,
unsigned int start, unsigned int count,
void *data);