From patchwork Thu Aug 22 05:45:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 19396 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f200.google.com (mail-vc0-f200.google.com [209.85.220.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B86EB248E6 for ; Thu, 22 Aug 2013 06:02:57 +0000 (UTC) Received: by mail-vc0-f200.google.com with SMTP id hf12sf1190321vcb.11 for ; Wed, 21 Aug 2013 23:02:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=aeZnW/2S7puFiDm92tx3DBCLb0liy7+DM9X06iV0l58=; b=VS/lDotMAqxM2hIgxAj6am5/ddg71LiNsjvy4f+IMPIZU9rgzNrXUpumwGmXvrfSq+ reAMIu/wZ5dR8REWOh3kVbMU5wUzlDSzEyrK8gIPPIzX00WGZOKdUpPudAvt1dDlf72X wesg8nKby1QBPEtGkmg5/5T0OswpWYQZu4xCrpkGcVRk8Rs5BUCvXXnN6O/o+zUVm1Bn umuODt4Wewz04ecxBdNvL5T4aZjN0T6f3fadRX0W6Qv1I1cZOqfNbomIgfbLdY3vM1vB zG3ouTnhNASWkF7Wwf1mw8rm100EVYWrVOl5Dt8pP0hXifVHI4YORsDmFyy4zEqbdt2z joKQ== X-Received: by 10.224.4.138 with SMTP id 10mr11965511qar.8.1377151377517; Wed, 21 Aug 2013 23:02:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.134.74 with SMTP id pi10ls911399qeb.35.gmail; Wed, 21 Aug 2013 23:02:57 -0700 (PDT) X-Received: by 10.221.51.206 with SMTP id vj14mr9930155vcb.17.1377151377379; Wed, 21 Aug 2013 23:02:57 -0700 (PDT) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id y10si3406329vem.151.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 Aug 2013 23:02:57 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id b10so1128001vea.35 for ; Wed, 21 Aug 2013 23:02:57 -0700 (PDT) X-Gm-Message-State: ALoCoQna8vYut6cXx992hkPXa5U0Gtjts18x9Tps3V2I4NBPsqZ6fQi7Xf4fTaWG2UyCgsk4JLEN X-Received: by 10.220.88.13 with SMTP id y13mr10049788vcl.20.1377151377274; Wed, 21 Aug 2013 23:02:57 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp10640vcz; Wed, 21 Aug 2013 23:02:56 -0700 (PDT) X-Received: by 10.66.25.205 with SMTP id e13mr1324389pag.180.1377151376314; Wed, 21 Aug 2013 23:02:56 -0700 (PDT) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by mx.google.com with ESMTPS id ua7si8736353pac.117.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 Aug 2013 23:02:56 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.46 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.46; Received: by mail-pa0-f46.google.com with SMTP id fa1so1738289pad.33 for ; Wed, 21 Aug 2013 23:02:55 -0700 (PDT) X-Received: by 10.68.227.4 with SMTP id rw4mr1315362pbc.182.1377151375810; Wed, 21 Aug 2013 23:02:55 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id oj6sm14409805pab.9.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 Aug 2013 23:02:55 -0700 (PDT) From: Sachin Kamat To: dri-devel@lists.freedesktop.org Cc: inki.dae@samsung.com, jy0922.shim@samsung.com, sw0312.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 4/6] drm/exynos: Remove non-DT support in exynos_drm_g2d Date: Thu, 22 Aug 2013 11:15:21 +0530 Message-Id: <1377150323-12546-4-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1377150323-12546-1-git-send-email-sachin.kamat@linaro.org> References: <1377150323-12546-1-git-send-email-sachin.kamat@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Since commit 383ffda2fa ("ARM: EXYNOS: no more support non-DT for EXYNOS SoCs"), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exynos_drm_g2d.c index 0b8b6e4..3271fd4 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_g2d.c +++ b/drivers/gpu/drm/exynos/exynos_drm_g2d.c @@ -1534,12 +1534,10 @@ static const struct dev_pm_ops g2d_pm_ops = { SET_RUNTIME_PM_OPS(g2d_runtime_suspend, g2d_runtime_resume, NULL) }; -#ifdef CONFIG_OF static const struct of_device_id exynos_g2d_match[] = { { .compatible = "samsung,exynos5250-g2d" }, {}, }; -#endif struct platform_driver g2d_driver = { .probe = g2d_probe, @@ -1548,6 +1546,6 @@ struct platform_driver g2d_driver = { .name = "s5p-g2d", .owner = THIS_MODULE, .pm = &g2d_pm_ops, - .of_match_table = of_match_ptr(exynos_g2d_match), + .of_match_table = exynos_g2d_match, }, };