From patchwork Mon Dec 30 11:02:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 3418951 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 B55D6C02DC for ; Mon, 30 Dec 2013 11:03:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1A8CB200E9 for ; Mon, 30 Dec 2013 11:03:04 +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 4B6D7200DB for ; Mon, 30 Dec 2013 11:02:59 +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 1VxacY-0005nh-NY; Mon, 30 Dec 2013 11:02:54 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VxacW-0004W9-DR; Mon, 30 Dec 2013 11:02:52 +0000 Received: from mail-wg0-f48.google.com ([74.125.82.48]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VxacU-0004Ue-47 for linux-arm-kernel@lists.infradead.org; Mon, 30 Dec 2013 11:02:50 +0000 Received: by mail-wg0-f48.google.com with SMTP id z12so9853983wgg.15 for ; Mon, 30 Dec 2013 03:02:27 -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:in-reply-to :references; bh=kQK6wTI/K2HLx1I5XgozcXV4TokvUA7rwSA41aXCRUo=; b=SBWUhNxOaH8LiwIv4vpqvXjFFnfP3HCe/laYAqoy8/7702iE+9LIuFGLiP8UaQh3WM SCThij8gonFaU/fr3K4Z6eVKvbrqYGP5g9mqiCgmwmX5bKy+B+J5oI2bbrMeUyHN5nqc 6V1hoVzrp+zkEgWFpViXLAlkB9IuRjzgQ97t9BA50bzmV2lsbDJD4nQAJFuFfs5NoUz9 xrQjMSF1E61ouU5kDXimj7iceQev27ECbNpkAxVSX3bfMdUDTOUC93NNEhgWMMGFyjXQ dfM+mQ118yIz9aZh18Wd+Kw/JhdOkMd5XIzedVMzioV0389hh2e9EZD3/Va8g0GiI1Rz i5eg== X-Gm-Message-State: ALoCoQnkXrcq0jcqTxpaKXTLEaRcnXtwGi5hKnsR5+eHR6Y23FFJY26c4WO7OjeiQng72nRGaBZi X-Received: by 10.180.76.42 with SMTP id h10mr29972605wiw.46.1388401347292; Mon, 30 Dec 2013 03:02:27 -0800 (PST) Received: from localhost.localdomain (pur13-1-78-242-214-186.fbx.proxad.net. [78.242.214.186]) by mx.google.com with ESMTPSA id ly8sm11512632wjb.17.2013.12.30.03.02.25 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 03:02:26 -0800 (PST) From: Daniel Lezcano To: rjw@rjwysocki.net Subject: [PATCH] ARM/cpuidle: remove __init tag from Calxeda cpuidle probe function Date: Mon, 30 Dec 2013 12:02:24 +0100 Message-Id: <1388401344-14110-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <52C15268.4050403@linaro.org> References: <52C15268.4050403@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131230_060250_278220_45A6F083 X-CRM114-Status: GOOD ( 12.34 ) X-Spam-Score: -2.6 (--) Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, andre.przywara@linaro.org, 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.3 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 From: Andre Przywara 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 Signed-off-by: Daniel Lezcano --- 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); }