From patchwork Fri Dec 13 20:49:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 3342611 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D44C3C0D4A for ; Fri, 13 Dec 2013 20:50:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EC6FD20709 for ; Fri, 13 Dec 2013 20:50:28 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 03A1B20707 for ; Fri, 13 Dec 2013 20:50:28 +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 1VrZgj-0002Kc-Ha; Fri, 13 Dec 2013 20:50:21 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VrZgh-0000NX-0n; Fri, 13 Dec 2013 20:50:19 +0000 Received: from mail-bk0-f50.google.com ([209.85.214.50]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VrZgd-0000Me-Ky for linux-arm-kernel@lists.infradead.org; Fri, 13 Dec 2013 20:50:16 +0000 Received: by mail-bk0-f50.google.com with SMTP id e11so1584065bkh.9 for ; Fri, 13 Dec 2013 12:49:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=lSwW1syYTyPO1b+gVeKkMnY/+TB7Rmfnxco7VoE06lM=; b=gJJvalmoAcyoirsU5ZLsTjxh3a9Y8udXD+QinM18fUozemc+2rqGnx9HZ2t0g53oGM kUUacVHEQQGe319G71bCGEjbgNZfrTbn1lbYERk0RQO6DL+EeT7P25P6kVAULhuS0ORa TBXKVtQzd7iDaeWzTNhl+EzvpZ3faX3koSfFk7SDFLeRIlGqyAewHLSOezv2QzdVpLXp pJspWwASnwcZYnrqg257SLFyLM5CJZ95s9FNd3O3ZNlsXPDMJO1uijiHkRxeRBoINwaE Hj3H3gWItPUmmTiHxhLzDpBuOeVf5WEXrpZ3H4GhXY1GQGVbu72QSs3KT6Grsy7TrvUi 3pNQ== X-Gm-Message-State: ALoCoQmumqAPfJbKEP5y4wA5CdbQoUSzokX9XO5SXJRcNS+l5bPKtzipr6G6YzRDRhN7I/qeue0g X-Received: by 10.204.200.201 with SMTP id ex9mr374731bkb.75.1386967792840; Fri, 13 Dec 2013 12:49:52 -0800 (PST) Received: from localhost.localdomain (g227158215.adsl.alicedsl.de. [92.227.158.215]) by mx.google.com with ESMTPSA id mf4sm2928331bkb.7.2013.12.13.12.49.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Dec 2013 12:49:51 -0800 (PST) From: Andre Przywara To: "Rafael J. Wysocki" , Daniel Lezcano Subject: [PATCH] ARM/cpuidle: remove __init tag from Calxeda cpuidle probe function Date: Fri, 13 Dec 2013 21:49:19 +0100 Message-Id: <1386967759-12952-1-git-send-email-andre.przywara@linaro.org> X-Mailer: git-send-email 1.7.12.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131213_155015_802545_3A226E38 X-CRM114-Status: GOOD ( 10.94 ) X-Spam-Score: -2.6 (--) Cc: Andre Przywara , linux-arm-kernel@lists.infradead.org, rob.herring@calxeda.com, linux-pm@vger.kernel.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 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit 60a66e370007e8535b7a561353b07b37deaf35ba changed the Calxeda cpuidle driver to a platform driver, copying the __init tag from the _init() to the newly used _probe() function. However, "probe should not be __init." (Rob said ;-) Remove the __init tag to fix a section mismatch in the Calxeda cpuidle driver. Signed-off-by: Andre Przywara --- drivers/cpuidle/cpuidle-calxeda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpuidle/cpuidle-calxeda.c b/drivers/cpuidle/cpuidle-calxeda.c index 3679563..6e51114 100644 --- a/drivers/cpuidle/cpuidle-calxeda.c +++ b/drivers/cpuidle/cpuidle-calxeda.c @@ -65,7 +65,7 @@ static struct cpuidle_driver calxeda_idle_driver = { .state_count = 2, }; -static int __init calxeda_cpuidle_probe(struct platform_device *pdev) +static int calxeda_cpuidle_probe(struct platform_device *pdev) { return cpuidle_register(&calxeda_idle_driver, NULL); }