Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1035543AbdDUFvR (ORCPT ); Fri, 21 Apr 2017 01:51:17 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:48603 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1035363AbdDUFvP (ORCPT ); Fri, 21 Apr 2017 01:51:15 -0400 X-AuditID: cbfec7f5-f792f6d0000063e9-b5-58f99dcee576 Subject: Re: [PATCH 05/28] drm/bridge: fix include notation and remove -Iinclude/drm flag To: Masahiro Yamada , dri-devel@lists.freedesktop.org, David Airlie , Daniel Vetter , Jani Nikula , Sean Paul Cc: linux-kernel@vger.kernel.org From: Andrzej Hajda Message-id: <4121ae55-b126-0a3e-b1a8-4cef5c39f5d4@samsung.com> Date: Fri, 21 Apr 2017 07:51:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-version: 1.0 In-reply-to: <1492682232-29769-6-git-send-email-yamada.masahiro@socionext.com> Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprLKsWRmVeSWpSXmKPExsWy7djPc7rn5v6MMPjbb2jRe+4kk8XyM+uY La58fc9msfzyekaLy7vmsFnc3XCW0WLvvc+MDuwesxsusngs3vOSyWP7twesHvNOBnrc7z7O 5HFi+ncWj8+b5ALYo7hsUlJzMstSi/TtErgyvm5/zVgwU7ji2Za3TA2MswS6GDk5JARMJJZN 7mCGsMUkLtxbz9bFyMUhJLCUUeLrpd2MEM5nRonDL3eywnTsn/sRqmoZo8TFtpWsEM4zRonZ MyezgVQJC0RLnL03nQkkISLwiVHi0JHFYO3MAgoSv+5tArPZBDQl/m6+CdbAK2AncfjwZCYQ m0VAVWJrw2uwo0QFIiSuz9nCCFEjKPFj8j0WEJtTwE9ix745jBAzNSVefJnEAmHLS2xe85YZ ZLGEwDZ2iT9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HV2HNjwgh1sSy4srcQ4wS HMxKIryFeT8jhHhTEiurUovy44tKc1KLDzGaAr0wkVlKNDkfmAjySuINTQzNLQ2NjC0szI2M lMR5Sz5cCRcSSE8sSc1OTS1ILYLpY+LglGpgnHI/s3HjMbHsyasEo3h2Hvm0Ty/yoFv90Ryj V66l+mbXjY18fwU/7pmirrC822viJ+sI+1dKHV8mbZaqcnMqlpixLmyR/q1pLcXqPX+qXD0L D0jb/cq2q1Q/kZf2vHsVn34Zd5p71KLpna3xBw1WrwlyydS88t1YbF5MzVqtcxsfszh8nbJA iaU4I9FQi7moOBEAoPOUuswCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170421055110eucas1p10b88794d0904f227c67b751eb1455c12 X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRvsgrw=?= =?UTF-8?B?7ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRtTYW1z?= =?UTF-8?B?dW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170421011023epcas4p30606102a222f77788250f631b58ecd16 X-RootMTR: 20170421011023epcas4p30606102a222f77788250f631b58ecd16 References: <1492682232-29769-1-git-send-email-yamada.masahiro@socionext.com> <1492682232-29769-6-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2375 Lines: 80 Hi Masahiro, On 20.04.2017 11:56, Masahiro Yamada wrote: > Include instead of relative path from include/drm, then > remove the -Iinclude/drm compiler flag. > > Signed-off-by: Masahiro Yamada > --- > > drivers/gpu/drm/bridge/Makefile | 2 -- > drivers/gpu/drm/bridge/nxp-ptn3460.c | 10 +++++----- > drivers/gpu/drm/bridge/parade-ps8622.c | 8 ++++---- > 3 files changed, 9 insertions(+), 11 deletions(-) > > diff --git a/drivers/gpu/drm/bridge/Makefile b/drivers/gpu/drm/bridge/Makefile > index 3fe2226..defcf1e 100644 > --- a/drivers/gpu/drm/bridge/Makefile > +++ b/drivers/gpu/drm/bridge/Makefile > @@ -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 > diff --git a/drivers/gpu/drm/bridge/nxp-ptn3460.c b/drivers/gpu/drm/bridge/nxp-ptn3460.c > index 3517043..3fc285a 100644 > --- a/drivers/gpu/drm/bridge/nxp-ptn3460.c > +++ b/drivers/gpu/drm/bridge/nxp-ptn3460.c > @@ -24,11 +24,11 @@ > #include > #include > > -#include "drm_crtc.h" > -#include "drm_crtc_helper.h" > -#include "drm_atomic_helper.h" > -#include "drm_edid.h" > -#include "drmP.h" > +#include > +#include > +#include > +#include > +#include Could you merge these includes with the ones above and sort them alphabetically. > > #define PTN3460_EDID_ADDR 0x0 > #define PTN3460_EDID_EMULATION_ADDR 0x84 > diff --git a/drivers/gpu/drm/bridge/parade-ps8622.c b/drivers/gpu/drm/bridge/parade-ps8622.c > index 1dcec3b..ada2186 100644 > --- a/drivers/gpu/drm/bridge/parade-ps8622.c > +++ b/drivers/gpu/drm/bridge/parade-ps8622.c > @@ -28,10 +28,10 @@ > #include > #include > > -#include "drmP.h" > -#include "drm_crtc.h" > -#include "drm_crtc_helper.h" > -#include "drm_atomic_helper.h" > +#include > +#include > +#include > +#include Ditto. After this change you can add my: Reviewed-by: Andrzej Hajda -- Regards Andrzej > > /* Brightness scale on the Parade chip */ > #define PS8622_MAX_BRIGHTNESS 0xff