From patchwork Fri Apr 12 12:35:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 16095 Return-Path: X-Original-To: linaro@staging.patches.linaro.org Delivered-To: linaro@staging.patches.linaro.org Received: from mail-we0-f199.google.com (mail-we0-f199.google.com [74.125.82.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2482626EB0 for ; Fri, 12 Apr 2013 12:36:43 +0000 (UTC) Received: by mail-we0-f199.google.com with SMTP id t11sf3064740wey.10 for ; Fri, 12 Apr 2013 05:36:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=9+//ippCOOpnk+2J3bTXNxL3zs998IhjwkNyY/uKjAQ=; b=esVeztnlSSK0+F5akn5oSZ3bHY62X7r7febd6yXOukaob1uWMnTp6QtOwyppKv+hHJ fkq3pMDpprXZ6fXDPRnKqugY6UB3G9TsV+KW8AHdP7HtboHGT7yg5BzeWVEvgPYcp9KJ AN+bmkzvtwNKClsSTroDkmmX2AkwXrvYQasCSynDjBUP4Dbv3oYFhHfJEjR4FVP4vFNb 45fjSqUQjrPO37AwKfY5Dx2yiYeU2UFVpmm9TOs/jplUfvjZ5Q3YRuNXvKv4I/xpSqpT vdeG0Gd44ikKtaZTd9atIkSjDiq+bkCq/sbN5X2H2s38s9T6DzatJ7ikl3z1Mloj3rDv E1lw== X-Received: by 10.180.95.3 with SMTP id dg3mr857328wib.4.1365770178900; Fri, 12 Apr 2013 05:36:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.212.42 with SMTP id nh10ls502095wic.9.gmail; Fri, 12 Apr 2013 05:36:18 -0700 (PDT) X-Received: by 10.180.103.65 with SMTP id fu1mr3818041wib.4.1365770178721; Fri, 12 Apr 2013 05:36:18 -0700 (PDT) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id t7si3005719wjy.197.2013.04.12.05.36.18 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Apr 2013 05:36:18 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.180; Received: by mail-ve0-f180.google.com with SMTP id da11so504569veb.25 for ; Fri, 12 Apr 2013 05:36:17 -0700 (PDT) X-Received: by 10.58.188.48 with SMTP id fx16mr1260212vec.22.1365770177606; Fri, 12 Apr 2013 05:36:17 -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.58.127.98 with SMTP id nf2csp64057veb; Fri, 12 Apr 2013 05:36:17 -0700 (PDT) X-Received: by 10.180.211.50 with SMTP id mz18mr3733650wic.24.1365770176718; Fri, 12 Apr 2013 05:36:16 -0700 (PDT) Received: from mail-we0-x22d.google.com (mail-we0-x22d.google.com [2a00:1450:400c:c03::22d]) by mx.google.com with ESMTPS id mb1si2999453wjb.238.2013.04.12.05.36.16 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Apr 2013 05:36:16 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::22d is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=2a00:1450:400c:c03::22d; Received: by mail-we0-f173.google.com with SMTP id t57so1961974wey.4 for ; Fri, 12 Apr 2013 05:36:16 -0700 (PDT) X-Received: by 10.194.222.100 with SMTP id ql4mr17117937wjc.59.1365770176328; Fri, 12 Apr 2013 05:36:16 -0700 (PDT) Received: from mai.home (AToulouse-654-1-349-85.w90-55.abo.wanadoo.fr. [90.55.188.85]) by mx.google.com with ESMTPS id ej8sm3043646wib.9.2013.04.12.05.36.12 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Apr 2013 05:36:15 -0700 (PDT) From: Daniel Lezcano To: rjw@sisk.pl Cc: linus.walleij@linaro.org, jason@lakedaemon.net, andrew@lunn.ch, kernel@pengutronix.de, swarren@wwwdotorg.org, santosh.shilimkar@ti.com, nicolas.ferre@atmel.com, plagnioj@jcrosoft.com, linux@maxim.org.za, rob.herring@calxeda.com, nsekhar@ti.com, horms@verge.net.au, magnus.damm@gmail.com, deepthi@linux.vnet.ibm.com, lethal@linux-sh.org, jkosina@suse.cz, kgene.kim@samsung.com, khilman@deeprootsystems.com, tony@atomide.com, linux-pm@vger.kernel.org, patches@linaro.org, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, josephl@nvidia.com Subject: [V3 patch 02/19] ARM: shmobile: cpuidle: remove shmobile_enter_wfi prototype Date: Fri, 12 Apr 2013 14:35:48 +0200 Message-Id: <1365770165-27096-3-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1365770165-27096-1-git-send-email-daniel.lezcano@linaro.org> References: <1365770165-27096-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQkpehkGf64sx7tMDhh8tcpPBvwkxO7b0bNG/y3thKrDQg4ZcKdo+9lE4tLVHPYY+FWDnx4m X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.180 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: , Commit 688036b538974de32ce55be8b0e013b003992abc removed the function 'shmobile_enter_wfi' but we forgot to remove the definition in the header file. Note this function is just an alias to 'cpu_do_idle()' wrapped into a cpuidle function callback prototype which already exists with the default WFI state and the arm_simple_enter function. Remove the function prototype. Signed-off-by: Daniel Lezcano Acked-by: Simon Horman --- arch/arm/mach-shmobile/include/mach/common.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h index e48606d..362f9b2 100644 --- a/arch/arm/mach-shmobile/include/mach/common.h +++ b/arch/arm/mach-shmobile/include/mach/common.h @@ -13,9 +13,6 @@ extern int shmobile_clk_init(void); extern void shmobile_handle_irq_intc(struct pt_regs *); extern struct platform_suspend_ops shmobile_suspend_ops; struct cpuidle_driver; -struct cpuidle_device; -extern int shmobile_enter_wfi(struct cpuidle_device *dev, - struct cpuidle_driver *drv, int index); extern void shmobile_cpuidle_set_driver(struct cpuidle_driver *drv); extern void sh7372_init_irq(void);