From patchwork Tue Nov 17 15:42:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 38650 X-Patchwork-Delegate: grant.likely@secretlab.ca Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 9E7B3101281 for ; Wed, 18 Nov 2009 02:43:15 +1100 (EST) Received: by ozlabs.org (Postfix) id 15D0CB7CC0; Wed, 18 Nov 2009 02:42:43 +1100 (EST) Delivered-To: linuxppc-dev@ozlabs.org Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by ozlabs.org (Postfix) with ESMTP id 55160B7C89 for ; Wed, 18 Nov 2009 02:42:41 +1100 (EST) Received: by fg-out-1718.google.com with SMTP id d23so64691fga.3 for ; Tue, 17 Nov 2009 07:42:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=x/GeLNu7BpEJ5QYuyc7Czc6InA/SCM/f/WY5KW1Cfuw=; b=lIdcQbt7b3D2PyEPVTlQ9NmNn1dTw0K3gySnJV5LSDjlQPRcZfVIymapttk+R9BP00 pN3O2bBFwR3as7BZZYbyB5OoMHR+Xta818Nc8yDHGNAcgfNh0/2wGebpKqLPEWs5hWeI PnGjvMH81/CJ/B7Kvrq7pkv2ezC1jZ3ak3qh4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=bZZiBBJjBuW7Dd9LdfiFYWEbJyjKRpM15mSzBq0DZ2pD0bxf2ogKG37a6EGQ//TQzD dq61A3P71fWPJT0u3dHLoPMnNEQJTEy9E5LFMrSX9qynLJMS+Ax3RV2C7lvGZ2p9Vk6e w4oPxWmh/tJDNZf+tTK1CeBtscJbPekOs/4ps= Received: by 10.87.58.28 with SMTP id l28mr134593fgk.45.1258472561716; Tue, 17 Nov 2009 07:42:41 -0800 (PST) Received: from localhost.localdomain ([91.213.169.4]) by mx.google.com with ESMTPS id e11sm1446370fga.2.2009.11.17.07.42.39 (version=SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 07:42:41 -0800 (PST) From: Dmitry Eremin-Solenikov To: devicetree-discuss@lists.ozlabs.org, linuxppc-dev@ozlabs.org Subject: [RFC PATCH 4/5] simple_gpio: port to new of gpio interface Date: Tue, 17 Nov 2009 18:42:25 +0300 Message-Id: <1258472546-31343-5-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 1.6.5 In-Reply-To: <1258472546-31343-1-git-send-email-dbaryshkov@gmail.com> References: <1258472546-31343-1-git-send-email-dbaryshkov@gmail.com> Cc: David Brownell , Paul Mackerras X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/sysdev/simple_gpio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/sysdev/simple_gpio.c b/arch/powerpc/sysdev/simple_gpio.c index 43c4569..5ad1e23 100644 --- a/arch/powerpc/sysdev/simple_gpio.c +++ b/arch/powerpc/sysdev/simple_gpio.c @@ -101,7 +101,7 @@ static int __init u8_simple_gpiochip_add(struct device_node *np) mm_gc = &u8_gc->mm_gc; of_gc = &mm_gc->of_gc; - gc = &of_gc->gc; + gc = &mm_gc->gc; mm_gc->save_regs = u8_gpio_save_regs; of_gc->gpio_cells = 2;