From patchwork Wed Aug 28 05:17:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 19554 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f70.google.com (mail-qe0-f70.google.com [209.85.128.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4A71B248E8 for ; Wed, 28 Aug 2013 05:35:51 +0000 (UTC) Received: by mail-qe0-f70.google.com with SMTP id a11sf6433038qen.1 for ; Tue, 27 Aug 2013 22:35:51 -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=Y78UWSz3rhJjWabCCXLpBUVI6729pbXLD3yQMbsFEhasKpeDxNtN6bJX/3vCUFZE9L RxZneFGujo4sG25mFnKcvUBV6lZx/D2sARQoOfXBbt0AJ9b/ienWAhzfA43UpjczLvmt OPjrs2SvL/NbNLin7HAOKVF4OGuYRMMD2Av8H1gxkBtTEAwoZABXtI0N56wGz+yDz62R BEGKXDUKmDxnHYFUmsmGuNtRxJglLpgOpbQmUco1eCAQPNKaRl+MxA62+OJhba18Nb3V x8FLQHapvjBi2Tby4vOOl+Kt63Jk5Wf/5/tcxPhk00SHjVpfztXAdpCfDT0+SUqx7wfm 9J9Q== X-Received: by 10.236.68.2 with SMTP id k2mr9108471yhd.16.1377668151002; Tue, 27 Aug 2013 22:35:51 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.4.41 with SMTP id h9ls209492qeh.79.gmail; Tue, 27 Aug 2013 22:35:50 -0700 (PDT) X-Received: by 10.52.0.238 with SMTP id 14mr19208442vdh.3.1377668150846; Tue, 27 Aug 2013 22:35:50 -0700 (PDT) Received: from mail-vb0-f43.google.com (mail-vb0-f43.google.com [209.85.212.43]) by mx.google.com with ESMTPS id k17si6012345vck.27.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Aug 2013 22:35:50 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.43 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.43; Received: by mail-vb0-f43.google.com with SMTP id h11so3887665vbh.30 for ; Tue, 27 Aug 2013 22:35:50 -0700 (PDT) X-Gm-Message-State: ALoCoQnPT2GqQ/Yi9xru2B1YjH2D0CFDxlkEBU+8me2rUGNzCiiY4BbUc/GQv6/nvKiwJqZcWRSb X-Received: by 10.52.120.7 with SMTP id ky7mr20065689vdb.12.1377668150536; Tue, 27 Aug 2013 22:35:50 -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 u4csp336227vcz; Tue, 27 Aug 2013 22:35:49 -0700 (PDT) X-Received: by 10.68.52.200 with SMTP id v8mr25636548pbo.48.1377668148129; Tue, 27 Aug 2013 22:35:48 -0700 (PDT) Received: from mail-pd0-f182.google.com (mail-pd0-f182.google.com [209.85.192.182]) by mx.google.com with ESMTPS id hk5si19138715pac.67.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Aug 2013 22:35:47 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.182 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.182; Received: by mail-pd0-f182.google.com with SMTP id r10so5843487pdi.13 for ; Tue, 27 Aug 2013 22:35:47 -0700 (PDT) X-Received: by 10.68.220.193 with SMTP id py1mr11014048pbc.150.1377668147413; Tue, 27 Aug 2013 22:35:47 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id pu5sm31244266pac.21.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Aug 2013 22:35:46 -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 Resend 4/6] drm/exynos: Remove non-DT support in exynos_drm_g2d Date: Wed, 28 Aug 2013 10:47:56 +0530 Message-Id: <1377667078-14163-4-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1377667078-14163-1-git-send-email-sachin.kamat@linaro.org> References: <1377667078-14163-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.212.43 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, }, };