From patchwork Thu Jul 31 17:42:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 4658411 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5CB8FC033A for ; Thu, 31 Jul 2014 17:45:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9D92D2011D for ; Thu, 31 Jul 2014 17:45:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8A7AA2015E for ; Thu, 31 Jul 2014 17:45:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753126AbaGaRpn (ORCPT ); Thu, 31 Jul 2014 13:45:43 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:9244 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753067AbaGaRpl (ORCPT ); Thu, 31 Jul 2014 13:45:41 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N9L00KI2804GNB0@mailout3.samsung.com>; Fri, 01 Aug 2014 02:45:40 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 86.C7.25328.3C08AD35; Fri, 01 Aug 2014 02:45:40 +0900 (KST) X-AuditID: cbfee68d-b7f2f6d0000062f0-0c-53da80c326b7 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 30.3E.05196.3C08AD35; Fri, 01 Aug 2014 02:45:39 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N9L00GWZ7ZJ9070@mmp1.samsung.com>; Fri, 01 Aug 2014 02:45:39 +0900 (KST) From: Ajay Kumar To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, thierry.reding@gmail.com Cc: inki.dae@samsung.com, seanpaul@google.com, ajaynumb@gmail.com, jg1.han@samsung.com, joshi@samsung.com, prashanth.g@samsung.com, Ajay Kumar Subject: [PATCH 05/15] drm/panel: simple: Add dummy prepare and unprepare routines Date: Thu, 31 Jul 2014 23:12:04 +0530 Message-id: <1406828534-10072-6-git-send-email-ajaykumar.rs@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1406828534-10072-1-git-send-email-ajaykumar.rs@samsung.com> References: <1406828534-10072-1-git-send-email-ajaykumar.rs@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpnkeLIzCtJLcpLzFFi42JZI2JSq3uk4VawQetlJosD7w+yWGx4s5DZ Yv6Rc6wWV76+Z7OYdH8Ci8XlhZdYLb7v+sJuMeP8PiaLVYc3sFvMPZhr8XPXPBYHbo+ds+6y eyzYVOpxv/s4k0ffllWMHp83yQWwRnHZpKTmZJalFunbJXBlLL50lbFgBWfFlXcnGRsY37B3 MXJySAiYSDStesEGYYtJXLi3Hsjm4hASWMoo8bHtGBNM0ZRrD5khEosYJY42LmSBcCYwScz8 /oYFpIpNQFti2/SbYLaIQJ3E/uX3GUGKmAXWMko8nTcZLCEsECLxcdpvsLEsAqoSbcv7gYo4 OHgFPCTWv0gAMSUEFCTmTLIBqeAU8JSY2nuZHSQsBFTx7HgayEQJgW3sEq8ONbBDTBGQ+Db5 EAtEq6zEpgPMEDdLShxccYNlAqPwAkaGVYyiqQX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Xu6J 7NlTu/frz0hYHy+Z+EWj5WDLwyV7N+88X1CQt+7KjZiGt0X26XZGbopvqwOYLvHf5WIKevOl cUdLWM78mul6bFdsjwZbcKcFn+3O/79dytkk8lZq7PxJotPuGL+/svpLt+Pf9j42jbePuOf4 KLEUZyQaajEXFScCAKyToAbJAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 This patch adds dummy definition for prepare and unprepare routines to simple panel driver. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/panel/panel-simple.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index a251361..2e51c34 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -114,6 +114,16 @@ static int panel_simple_disable(struct drm_panel *panel) return 0; } +static int panel_simple_unprepare(struct drm_panel *panel) +{ + return 0; +} + +static int panel_simple_prepare(struct drm_panel *panel) +{ + return 0; +} + static int panel_simple_enable(struct drm_panel *panel) { struct panel_simple *p = to_panel_simple(panel); @@ -164,6 +174,8 @@ static int panel_simple_get_modes(struct drm_panel *panel) static const struct drm_panel_funcs panel_simple_funcs = { .disable = panel_simple_disable, + .unprepare = panel_simple_unprepare, + .prepare = panel_simple_prepare, .enable = panel_simple_enable, .get_modes = panel_simple_get_modes, };