]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/bridge: fix include notation and remove -Iinclude/drm flag
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 24 Apr 2017 04:50:24 +0000 (13:50 +0900)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 16 May 2017 15:18:47 +0000 (17:18 +0200)
Include <drm/*.h> instead of relative path from include/drm, then
remove the -Iinclude/drm compiler flag.

While we are here, sort the touched parts alphabetically.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1493009447-31524-7-git-send-email-yamada.masahiro@socionext.com
drivers/gpu/drm/bridge/Makefile
drivers/gpu/drm/bridge/nxp-ptn3460.c
drivers/gpu/drm/bridge/parade-ps8622.c

index 3fe2226ee2f221fea6bc8145e7130d40611c863d..defcf1e7ca1c69bf31466201ce2fb0c832fd342b 100644 (file)
@@ -1,5 +1,3 @@
-ccflags-y := -Iinclude/drm
-
 obj-$(CONFIG_DRM_ANALOGIX_ANX78XX) += analogix-anx78xx.o
 obj-$(CONFIG_DRM_DUMB_VGA_DAC) += dumb-vga-dac.o
 obj-$(CONFIG_DRM_LVDS_ENCODER) += lvds-encoder.o
index 351704390d02627dabf186b9e6391349da9728e5..4f64e717e01be4a4dd46bc2c3310f8615b71d2e6 100644 (file)
 #include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_gpio.h>
-
+#include <drm/drm_atomic_helper.h>
+#include <drm/drm_crtc.h>
+#include <drm/drm_crtc_helper.h>
+#include <drm/drm_edid.h>
 #include <drm/drm_of.h>
 #include <drm/drm_panel.h>
-
-#include "drm_crtc.h"
-#include "drm_crtc_helper.h"
-#include "drm_atomic_helper.h"
-#include "drm_edid.h"
-#include "drmP.h"
+#include <drm/drmP.h>
 
 #define PTN3460_EDID_ADDR                      0x0
 #define PTN3460_EDID_EMULATION_ADDR            0x84
index 1dcec3b97e6777fa982f420ec6ea34e09abb7033..6f22f9fec9bfed145e6fd781c715287c97f1d682 100644 (file)
 #include <linux/of_device.h>
 #include <linux/pm.h>
 #include <linux/regulator/consumer.h>
-
+#include <drm/drm_atomic_helper.h>
+#include <drm/drm_crtc.h>
+#include <drm/drm_crtc_helper.h>
 #include <drm/drm_of.h>
 #include <drm/drm_panel.h>
-
-#include "drmP.h"
-#include "drm_crtc.h"
-#include "drm_crtc_helper.h"
-#include "drm_atomic_helper.h"
+#include <drm/drmP.h>
 
 /* Brightness scale on the Parade chip */
 #define PS8622_MAX_BRIGHTNESS 0xff