From patchwork Tue Aug 13 10:20:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 2843551 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 433499F271 for ; Tue, 13 Aug 2013 10:23:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 76330204AF for ; Tue, 13 Aug 2013 10:23:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 936132049E for ; Tue, 13 Aug 2013 10:23:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753615Ab3HMKXs (ORCPT ); Tue, 13 Aug 2013 06:23:48 -0400 Received: from mail-pb0-f52.google.com ([209.85.160.52]:37368 "EHLO mail-pb0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752756Ab3HMKXr (ORCPT ); Tue, 13 Aug 2013 06:23:47 -0400 Received: by mail-pb0-f52.google.com with SMTP id wz12so4505813pbc.11 for ; Tue, 13 Aug 2013 03:23:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TDij25wLpYbsh+shQQ7aeLTGexe+8XKO18twySOGSdQ=; b=YSRZa9WLSt4DhCucmI/j9IO7DOMtxallVpyYyDPa5bvCJ10Ncbh+8t9q/qDrbciYyI Ww7udUUnht7MahdTDpWBtey0JOFWwpYEm/YHzT/r0T2Lm0PNu6uNUHqUD0SHN1bEelsS WsbzTXpCAea1uXpHQ4nE2DoSV80bs+kuRJcWjRYracwFDyx2HBUtmC08tp14qRl+o+ic xWEAyYf5S+O3Asg7PfpihbNtXRU2p+XOuPvStuGY184sTHDFLBxqHZ7Nne9iEeAGIohh l+MlTwyT3c+nVQjnqgvneVnp6NZjjL4mJLIZpLLDgPD+jW1HM24EgadzIb2tDfsE8wR6 9fYg== X-Gm-Message-State: ALoCoQkEwGQQNvaWkYCnmgZM3Alih3pakI4G/PjsmmLI4HA+2I9I0X66mOQbXdJP8PunNfkkezkk X-Received: by 10.68.171.193 with SMTP id aw1mr763374pbc.197.1376389426778; Tue, 13 Aug 2013 03:23:46 -0700 (PDT) Received: from localhost ([218.17.215.175]) by mx.google.com with ESMTPSA id sz3sm42977369pbc.5.2013.08.13.03.23.31 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 13 Aug 2013 03:23:46 -0700 (PDT) From: Hanjun Guo To: Viresh Kumar Cc: "Rafael J. Wysocki" , cpufreq@vger.kernel.org, linux-pm@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org, linaro-acpi@lists.linaro.org, Hanjun Guo Subject: [PATCH 3/3] cpufreq / s3c24xx: Fix __init attribute locations Date: Tue, 13 Aug 2013 18:20:10 +0800 Message-Id: <1376389210-11470-3-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1376389210-11470-1-git-send-email-hanjun.guo@linaro.org> References: <1376389210-11470-1-git-send-email-hanjun.guo@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-8.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_WEB, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 __init belongs after the return type on functions, not before it. Signed-off-by: Hanjun Guo --- drivers/cpufreq/s3c24xx-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/s3c24xx-cpufreq.c b/drivers/cpufreq/s3c24xx-cpufreq.c index 87781eb..3d927d6 100644 --- a/drivers/cpufreq/s3c24xx-cpufreq.c +++ b/drivers/cpufreq/s3c24xx-cpufreq.c @@ -392,7 +392,7 @@ static int s3c_cpufreq_init(struct cpufreq_policy *policy) return 0; } -static __init int s3c_cpufreq_initclks(void) +static int __init s3c_cpufreq_initclks(void) { _clk_mpll = s3c_cpufreq_clk_get(NULL, "mpll"); _clk_xtal = s3c_cpufreq_clk_get(NULL, "xtal");