From patchwork Sun Sep 21 04:32:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 391638 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id F0AB314012C for ; Sun, 21 Sep 2014 14:32:14 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751135AbaIUEcO (ORCPT ); Sun, 21 Sep 2014 00:32:14 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:47822 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751021AbaIUEcO (ORCPT ); Sun, 21 Sep 2014 00:32:14 -0400 Received: by mail-pa0-f46.google.com with SMTP id kx10so2499970pab.33 for ; Sat, 20 Sep 2014 21:32:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-type:mime-version:content-transfer-encoding; bh=OK910dAR3cOxIuFEi6BQdQ8tRQv6m/2HnsZT6dicAeg=; b=d0ytNmFOggvL+l5heDiTc00lDJrxMchPnEhgI2XgvuRfkBPLdLF00eRpbWTXWvKKmm AAcr+JpkQtnZf4qxzn5Sr/yNw8SRgvVK1m4UCoXhnOOSK3aKymKwvJF/gJESKZs1XXLx qhO1Z8cRbP20Vd0KGFVcGMehlOcpkKecsoCZyceVJII+r56pbodvpaWNkPawMbnzvN2F DZmI4k6na9yiPHqZhm6mp/cj3w/uJL08t5vgn/te0rNjrVHX/YHs1kEGdzkQs85VZqqI M7GQTsDPsLWhsnjWCde5EDz25FVZgncOzhlvKGsIXyTRTv1H7xsaJugseXIuC+wUMg7b vxQA== X-Gm-Message-State: ALoCoQmH3T96Q5R0qqyGouna/COQd7jSN2WP8OcOEsEoLocgvfXxaEU9wtFchmKvSBQUZuXJRw63 X-Received: by 10.68.238.137 with SMTP id vk9mr93763pbc.165.1411273933709; Sat, 20 Sep 2014 21:32:13 -0700 (PDT) Received: from [192.168.0.105] (218-164-148-131.dynamic.hinet.net. [218.164.148.131]) by mx.google.com with ESMTPSA id rh1sm5784080pdb.71.2014.09.20.21.32.11 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 20 Sep 2014 21:32:13 -0700 (PDT) Message-ID: <1411273930.20539.1.camel@phoenix> Subject: [PATCH 2/3] gpio: xgene: Remove unneeded forward declation for struct xgene_gpio From: Axel Lin To: Linus Walleij Cc: Feng Kan , Alexandre Courbot , "linux-gpio@vger.kernel.org" Date: Sun, 21 Sep 2014 12:32:10 +0800 In-Reply-To: <1411273889.20539.0.camel@phoenix> References: <1411273889.20539.0.camel@phoenix> X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Signed-off-by: Axel Lin --- drivers/gpio/gpio-xgene.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c index 256c785..cef92f4 100644 --- a/drivers/gpio/gpio-xgene.c +++ b/drivers/gpio/gpio-xgene.c @@ -38,8 +38,6 @@ #define GPIO_BIT_OFFSET(x) (x % XGENE_GPIOS_PER_BANK) #define GPIO_BANK_OFFSET(x) ((x / XGENE_GPIOS_PER_BANK) * GPIO_BANK_STRIDE) -struct xgene_gpio; - struct xgene_gpio { struct gpio_chip chip; void __iomem *base;