[PATCH] drivers: gpu: drm: dr_fb_cma_helper: Fix kerneldoc comments

Tamara Diaconita diaconitatamara at gmail.com
Thu Mar 30 10:55:07 UTC 2017


Remove the description for the non-existing 'num_crtc' to fix the
build warning: ./drivers/gpu/drm/drm_fb_cma_helper.c:557: warning:
Excess function parameter 'num_crtc' description in
'drm_fbdev_cma_init'.

Signed-off-by: Tamara Diaconita <diaconita.tamara at gmail.com>
---
 drivers/gpu/drm/drm_fb_cma_helper.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_fb_cma_helper.c b/drivers/gpu/drm/drm_fb_cma_helper.c
index 596fabf..72aa32b 100644
--- a/drivers/gpu/drm/drm_fb_cma_helper.c
+++ b/drivers/gpu/drm/drm_fb_cma_helper.c
@@ -547,7 +547,6 @@ EXPORT_SYMBOL_GPL(drm_fbdev_cma_init_with_funcs);
  * drm_fbdev_cma_init() - Allocate and initializes a drm_fbdev_cma struct
  * @dev: DRM device
  * @preferred_bpp: Preferred bits per pixel for the device
- * @num_crtc: Number of CRTCs
  * @max_conn_count: Maximum number of connectors
  *
  * Returns a newly allocated drm_fbdev_cma struct or a ERR_PTR.
-- 
2.9.3



More information about the dri-devel mailing list