[PATCH] drm/tilcdc: mark tilcdc_atomic_check() static

2016-09-22 Thread Jyri Sarha
Thank, But I already have this too: http://www.spinics.net/lists/kernel/msg2340400.html Best regards, Jyri On 09/21/16 08:14, Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/gpu/drm/tilcdc/tilcdc_drv.c:64:5: warning: no previous prototype for >

[PATCH] drm/tilcdc: mark tilcdc_atomic_check() static

2016-09-21 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/gpu/drm/tilcdc/tilcdc_drv.c:64:5: warning: no previous prototype for 'tilcdc_atomic_check' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but can be made static.