From patchwork Tue Jan 14 11:16:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Zhu X-Patchwork-Id: 3485331 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F0E479F169 for ; Tue, 14 Jan 2014 11:17:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 80B0E201F7 for ; Tue, 14 Jan 2014 11:17:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2CE20201E9 for ; Tue, 14 Jan 2014 11:17:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751475AbaANLRZ (ORCPT ); Tue, 14 Jan 2014 06:17:25 -0500 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:22150 "EHLO mx0a-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751351AbaANLRZ (ORCPT ); Tue, 14 Jan 2014 06:17:25 -0500 Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.14.5/8.14.5) with SMTP id s0EBFveZ005908; Tue, 14 Jan 2014 03:16:13 -0800 Received: from sc-owa.marvell.com ([199.233.58.135]) by mx0a-0016f401.pphosted.com with ESMTP id 1hb0qa18cs-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 14 Jan 2014 03:16:13 -0800 Received: from maili.marvell.com (10.93.76.43) by SC-OWA.marvell.com (10.93.76.28) with Microsoft SMTP Server id 8.3.327.1; Tue, 14 Jan 2014 03:16:09 -0800 Received: from localhost (unknown [10.38.36.157]) by maili.marvell.com (Postfix) with ESMTP id 8AD501CCE3A; Tue, 14 Jan 2014 03:16:09 -0800 (PST) From: Zhou Zhu To: , Tomi Valkeinen , Jean-Christophe Plagniol-Villard , Haojian Zhuang , Sascha Hauer , Jingoo Han , CC: Chao Xie , Guoqing Li , Zhou Zhu Subject: [PATCH v2 3/4] video: mmp: add devm_mmp_get_path_by_phandle for DT Date: Tue, 14 Jan 2014 19:16:23 +0800 Message-ID: <1389698184-28761-4-git-send-email-zzhu3@marvell.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1389698184-28761-1-git-send-email-zzhu3@marvell.com> References: <1389698184-28761-1-git-send-email-zzhu3@marvell.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14, 0.0.0000 definitions=2014-01-14_03:2014-01-14, 2014-01-14, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1401140026 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP add devm_mmp_get_path_by_phandle to replace mmp_get_path for DT usage Signed-off-by: Zhou Zhu --- drivers/video/mmp/core.c | 35 +++++++++++++++++++++++++++++++++++ include/video/mmp_disp.h | 2 ++ 2 files changed, 37 insertions(+) diff --git a/drivers/video/mmp/core.c b/drivers/video/mmp/core.c index b563b92..0538458 100644 --- a/drivers/video/mmp/core.c +++ b/drivers/video/mmp/core.c @@ -23,6 +23,7 @@ #include #include #include +#include #include