From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755778Ab0BST1h (ORCPT ); Fri, 19 Feb 2010 14:27:37 -0500 Received: from mail-fx0-f219.google.com ([209.85.220.219]:34142 "EHLO mail-fx0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755747Ab0BST1f (ORCPT ); Fri, 19 Feb 2010 14:27:35 -0500 From: Grant Likely Subject: [PATCH 3/7] arm-dt: add devictree node reference to dev_archdata To: linux@arm.linux.org.uk, catalin.marinas@arm.com, jeremy.kerr@canonical.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: tim.bird@am.sony.com Date: Fri, 19 Feb 2010 12:27:29 -0700 Message-ID: <20100219192721.15318.13246.stgit@angua> In-Reply-To: <20100219185953.15318.4850.stgit@angua> References: <20100219185953.15318.4850.stgit@angua> User-Agent: StGIT/0.14.2 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jeremy Kerr We'll need to parse device info from the device tree, so add the OF node to dev->archdata. Signed-off-by: Jeremy Kerr Signed-off-by: Grant Likely --- arch/arm/include/asm/device.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/device.h b/arch/arm/include/asm/device.h index 9f390ce..167b156 100644 --- a/arch/arm/include/asm/device.h +++ b/arch/arm/include/asm/device.h @@ -10,6 +10,9 @@ struct dev_archdata { #ifdef CONFIG_DMABOUNCE struct dmabounce_device_info *dmabounce; #endif +#ifdef CONFIG_OF + struct device_node *of_node; +#endif }; struct pdev_archdata {