From: Meghana Madhyastha Date: Thu, 14 Sep 2017 13:43:12 +0530 Subject: drm/agpsupport: Move EXPORT_SYMBOL so that it immediately follows its function Git-commit: 221399c387cd85ea552f7fbc8c219a6927b430ec Patch-mainline: v4.15-rc1 References: FATE#326289 FATE#326079 FATE#326049 FATE#322398 FATE#326166 EXPORT_SYMBOL(foo) should immediately follow its function/variable. This coding style is preferred. Found by checkpath.pl. Signed-off-by: Meghana Madhyastha Signed-off-by: Sean Paul Link: https://patchwork.freedesktop.org/patch/msgid/0496f0e821082969ec7950ac35f1e6b6cedb22a6.1505376068.git.meghana.madhyastha@gmail.com Acked-by: Petr Tesarik --- drivers/gpu/drm/drm_agpsupport.c | 3 --- 1 file changed, 3 deletions(-) --- a/drivers/gpu/drm/drm_agpsupport.c +++ b/drivers/gpu/drm/drm_agpsupport.c @@ -70,7 +70,6 @@ int drm_agp_info(struct drm_device *dev, return 0; } - EXPORT_SYMBOL(drm_agp_info); int drm_agp_info_ioctl(struct drm_device *dev, void *data, @@ -107,7 +106,6 @@ int drm_agp_acquire(struct drm_device *d dev->agp->acquired = 1; return 0; } - EXPORT_SYMBOL(drm_agp_acquire); /** @@ -172,7 +170,6 @@ int drm_agp_enable(struct drm_device *de dev->agp->enabled = 1; return 0; } - EXPORT_SYMBOL(drm_agp_enable); int drm_agp_enable_ioctl(struct drm_device *dev, void *data,