summaryrefslogtreecommitdiff
path: root/drivers/vfio/platform/reset/vfio_platform_amdxgbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/vfio/platform/reset/vfio_platform_amdxgbe.c')
-rw-r--r--drivers/vfio/platform/reset/vfio_platform_amdxgbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/platform/reset/vfio_platform_amdxgbe.c b/drivers/vfio/platform/reset/vfio_platform_amdxgbe.c
index d4030d0c38e9..bcd419cfd79c 100644
--- a/drivers/vfio/platform/reset/vfio_platform_amdxgbe.c
+++ b/drivers/vfio/platform/reset/vfio_platform_amdxgbe.c
@@ -56,7 +56,7 @@ static void xmdio_write(void *ioaddr, unsigned int mmd,
iowrite32(value, ioaddr + ((mmd_address & 0xff) << 2));
}
-int vfio_platform_amdxgbe_reset(struct vfio_platform_device *vdev)
+static int vfio_platform_amdxgbe_reset(struct vfio_platform_device *vdev)
{
struct vfio_platform_region *xgmac_regs = &vdev->regions[0];
struct vfio_platform_region *xpcs_regs = &vdev->regions[1];