drm/nouveau: Do not include drm_fb_helper.h
Subsystems (3)
Thomas Zimmermann
maintainerPATCH 1/1 drm/nouveau: Do not include drm_fb_helper.h
The driver doesn't need anything from <drm/drm_fb_helper.h>. Remove the include directive.
Signed-off-by Thomas Zimmermann <[email protected]>
--- drivers/gpu/drm/nouveau/dispnv50/disp.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/nouveau/dispnv50/disp.c +0 -1
@@ -40,7 +40,6 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_edid.h> #include <drm/drm_eld.h> -#include <drm/drm_fb_helper.h> #include <drm/drm_fixed.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
Signature · 1 line
2.51.0
Hi,
Quoted 2 lines
The driver doesn't need anything from <
drm/drm_fb_helper.h>. Remove the include directive.
Reviewed-by Petr Vorel <[email protected]>
Kind regards,
Petr
...
Quoted 6 lines
+++
b/drivers/gpu/drm/nouveau/dispnv50/disp.cdrivers/gpu/drm/nouveau/dispnv50/disp.c +0
-1@@ -40,7 +40,6 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_edid.h> #include <drm/drm_eld.h> -#include <drm/drm_fb_helper.h>
Hi,
Quoted 13 lines
The driver doesn't need anything from <
drm/drm_fb_helper.h>. Remove the include directive.Signed-off-by Thomas Zimmermann <[email protected]>--- drivers/gpu/drm/nouveau/dispnv50/disp.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/nouveau/dispnv50/disp.c +0
-0
drivers/gpu/drm/nouveau/dispnv50/disp.c line 45
Quoted 7 lines
drivers/gpu/drm/nouveau/dispnv50/disp.c +0
-1@@ -40,7 +40,6 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_edid.h> #include <drm/drm_eld.h> -#include <drm/drm_fb_helper.h> #include <drm/drm_fixed.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
it looks to me that at least these 3 aren't needed either:
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic.h>
#include <drm/drm_fixed.h>
But maybe I miss something obvious.
Kind regards,
Petr