lkml.org 
[lkml]   [2013]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: [PATCH v2 6/7] drm/msm: Drop unnecessary mach include
From
On Mon, Dec 30, 2013 at 8:12 PM, Rob Clark <robdclark@gmail.com> wrote:
> On Mon, Dec 30, 2013 at 4:15 PM, Stephen Boyd <sboyd@codeaurora.org> wrote:
>> This file doesn't use the clk_reset() API that is exposed in
>> mach-msm's mach/clk.h file. Remove the include so that this
>> driver can be compiled as part of the multi-platform kernel.
>
> Thanks!
>
> Signed-off-by: Rob Clark <robdclark@gmail.com>

oh, fwiw, things are a bit re-arranged on msm-next-staging (to add
8074 and 8060a support).. currently I have:

------------------
#if defined(CONFIG_ARCH_MSM)
# include <mach/clk.h>
#elif defined(CONFIG_COMPILE_TEST)
/* stubs we need for compile-test: */
static inline struct device *msm_iommu_get_ctx(const char *ctx_name)
{
return NULL;
}
#endif
------------------

Not really sure what to do about msm_iommu_get_ctx(), or whether I
still need that?

BR,
-R


>
>
>> Cc: Rob Clark <robdclark@gmail.com>
>> Cc: Dave Airlie <airlied@redhat.com>
>> ---
>> drivers/gpu/drm/msm/mdp4/mdp4_dtv_encoder.c | 2 --
>> 1 file changed, 2 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/msm/mdp4/mdp4_dtv_encoder.c b/drivers/gpu/drm/msm/mdp4/mdp4_dtv_encoder.c
>> index 5e0dcae..3799ccc 100644
>> --- a/drivers/gpu/drm/msm/mdp4/mdp4_dtv_encoder.c
>> +++ b/drivers/gpu/drm/msm/mdp4/mdp4_dtv_encoder.c
>> @@ -15,8 +15,6 @@
>> * this program. If not, see <http://www.gnu.org/licenses/>.
>> */
>>
>> -#include <mach/clk.h>
>> -
>> #include "mdp4_kms.h"
>>
>> #include "drm_crtc.h"
>> --
>> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
>> hosted by The Linux Foundation
>>


\
 
 \ /
  Last update: 2013-12-31 02:41    [W:0.091 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site