From patchwork Wed May 15 15:09:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 2573581 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id DFCA73FDBC for ; Wed, 15 May 2013 15:11:21 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UcdML-0004Ky-2d; Wed, 15 May 2013 15:11:17 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UcdMI-0003D6-Ef; Wed, 15 May 2013 15:11:14 +0000 Received: from mailout4.w1.samsung.com ([210.118.77.14]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UcdMF-0003CO-Dv for linux-arm-kernel@lists.infradead.org; Wed, 15 May 2013 15:11:12 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MMU00BWAI56W660@mailout4.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 15 May 2013 16:10:32 +0100 (BST) X-AuditID: cbfec7f4-b7fd76d0000035e1-16-5193a5685406 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 8B.9B.13793.865A3915; Wed, 15 May 2013 16:10:32 +0100 (BST) Received: from amdc1227.digital.local ([106.116.147.199]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0MMU00BNFI5HCZC0@eusync2.samsung.com>; Wed, 15 May 2013 16:10:32 +0100 (BST) From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org Subject: [PATCH] ARM: SAMSUNG: devs: Add names to fimd0 IRQ resources Date: Wed, 15 May 2013 17:09:44 +0200 Message-id: <1368630584-30147-1-git-send-email-t.figa@samsung.com> X-Mailer: git-send-email 1.8.2.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLJMWRmVeSWpSXmKPExsVy+t/xK7oZSycHGtz4JWjxd9IxdoveBVfZ LM42vWG32PT4GqvFjPP7mCxOXf/MZrF+xmsWB3aP378mMXpsXlLvceVEE6tH35ZVjB6fN8kF sEZx2aSk5mSWpRbp2yVwZUy6f5+lYCNnxdETK1gbGNs4uhg5OSQETCR2X25lhrDFJC7cW8/W xcjFISSwlFFi8p8d7BBOH5PE+WnP2UGq2ATUJD43PGIDsUUEVCU+ty0AK2IWWM8osfBTK2MX IweHsICrxOsHgSA1LEA1ba9fgdXzCjhJLN88B2qbgsTx7dsYJzByL2BkWMUomlqaXFCclJ5r qFecmFtcmpeul5yfu4kREiRfdjAuPmZ1iFGAg1GJh9dy+uRAIdbEsuLK3EOMEhzMSiK82hOB QrwpiZVVqUX58UWlOanFhxiZODilGhhnOizl/T05verKgTWvlE4mTZ2yR7X508cQ7Wszu1bv lv80S6KtyTci8NHfmI3Lehv28HwPsHl2p+KU48baFbapTt8krJUfnjgRz3xw/cNNPm5H3Bzu T9cuvxhx7btVX2Ap64n7zCYZz7JUXbwL3yeZXfunk9HbYhB3mNs7XVR6amv41GcbPqQqsRRn JBpqMRcVJwIAJaYuu/ABAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130515_111111_582134_E8001E73 X-CRM114-Status: UNSURE ( 9.18 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.5 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [210.118.77.14 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.6 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: kgene.kim@samsung.com, arnd@arndb.de, Tomasz Figa , Kyungmin Park , olof@lixom.net, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Since commit 1977e6d8 (drm/exynos: change the method for getting the interrupt) the Exynos DRM FIMD driver requires IRQ resources to be named. This patch fixes probe failure in non-DT cases by adding appropriate resource names to fimd0 platform device. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/plat-samsung/devs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index 30c2fe2..0f9c3f4 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c @@ -311,9 +311,9 @@ struct platform_device s5p_device_jpeg = { #ifdef CONFIG_S5P_DEV_FIMD0 static struct resource s5p_fimd0_resource[] = { [0] = DEFINE_RES_MEM(S5P_PA_FIMD0, SZ_32K), - [1] = DEFINE_RES_IRQ(IRQ_FIMD0_VSYNC), - [2] = DEFINE_RES_IRQ(IRQ_FIMD0_FIFO), - [3] = DEFINE_RES_IRQ(IRQ_FIMD0_SYSTEM), + [1] = DEFINE_RES_IRQ_NAMED(IRQ_FIMD0_VSYNC, "vsync"), + [2] = DEFINE_RES_IRQ_NAMED(IRQ_FIMD0_FIFO, "fifo"), + [3] = DEFINE_RES_IRQ_NAMED(IRQ_FIMD0_SYSTEM, "lcd_sys"), }; struct platform_device s5p_device_fimd0 = {