Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb2af9bd authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Daniel Vetter
Browse files

drm/tilcdc: fix include notation and remove -Iinclude/drm flag



Include <drm/*.h> instead of relative path from include/drm, then
remove the -Iinclude/drm compiler flag.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1493009447-31524-15-git-send-email-yamada.masahiro@socionext.com
parent 64a9dfc4
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
ccflags-y := -Iinclude/drm
ifeq (, $(findstring -W,$(EXTRA_CFLAGS)))
ifeq (, $(findstring -W,$(EXTRA_CFLAGS)))
	ccflags-y += -Werror
	ccflags-y += -Werror
endif
endif
+1 −2
Original line number Original line Diff line number Diff line
@@ -22,6 +22,7 @@
#include <linux/suspend.h>
#include <linux/suspend.h>
#include <drm/drm_atomic.h>
#include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_fb_helper.h>


#include "tilcdc_drv.h"
#include "tilcdc_drv.h"
#include "tilcdc_regs.h"
#include "tilcdc_regs.h"
@@ -29,8 +30,6 @@
#include "tilcdc_panel.h"
#include "tilcdc_panel.h"
#include "tilcdc_external.h"
#include "tilcdc_external.h"


#include "drm_fb_helper.h"

static LIST_HEAD(module_list);
static LIST_HEAD(module_list);


static const u32 tilcdc_rev1_formats[] = { DRM_FORMAT_RGB565 };
static const u32 tilcdc_rev1_formats[] = { DRM_FORMAT_RGB565 };