mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	drm/pl111/pl111_display: Make local function static
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/pl111/pl111_display.c:356:6: warning: no previous prototype for ‘pl111_display_disable’ [-Wmissing-prototypes] Cc: Eric Anholt <eric@anholt.net> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20201116174112.1833368-23-lee.jones@linaro.org
This commit is contained in:
		
							parent
							
								
									c6fd00a490
								
							
						
					
					
						commit
						295cc38d2e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -353,7 +353,7 @@ static void pl111_display_enable(struct drm_simple_display_pipe *pipe,
 | 
			
		|||
		drm_crtc_vblank_on(crtc);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void pl111_display_disable(struct drm_simple_display_pipe *pipe)
 | 
			
		||||
static void pl111_display_disable(struct drm_simple_display_pipe *pipe)
 | 
			
		||||
{
 | 
			
		||||
	struct drm_crtc *crtc = &pipe->crtc;
 | 
			
		||||
	struct drm_device *drm = crtc->dev;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue