From patchwork Tue Aug 13 10:20:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 2843549 Return-Path: X-Original-To: patchwork-linux-pm@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 16D42BF546 for ; Tue, 13 Aug 2013 10:21:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3F7BE204AF for ; Tue, 13 Aug 2013 10:21:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5D1252049E for ; Tue, 13 Aug 2013 10:21:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755784Ab3HMKVh (ORCPT ); Tue, 13 Aug 2013 06:21:37 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:54130 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753615Ab3HMKVh (ORCPT ); Tue, 13 Aug 2013 06:21:37 -0400 Received: by mail-pa0-f52.google.com with SMTP id kq13so8611433pab.39 for ; Tue, 13 Aug 2013 03:21:36 -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; bh=riuVatS8C8y2xBwIyUAXkF0RLHswZNBRinQzR79h1c0=; b=C021K5VI8TPBDBDa3PE1qy/U0kyUloN7q4LPi9OHP22BaGiDrXv5U8agCEwyTwEapM DqRh2kwIEMqu0I6LBM1opEJXbjYdgPMqKeFl9XeXK3TXQ3OvYzUIic4JNmo2kUSxetO9 JRyDqD/NDOWJFquSVfqKnYkBBPb3aQPiQAJheFUouu3TtoFygpf+gOeyOk0Y64nVsZLA Au9De8pibXMU89kPzB6LDAt1yq+gIuCOS/MRrgK2Z6WzdF8aWqgCZlbQd0VHGDYwttis KGW2BvFIdHlNYyP07VI2mnFLCYbAPRAaV+MhjUi9t7jRf4ceVgofhQqZTxfhmYnaodp6 elqw== X-Gm-Message-State: ALoCoQkDMYcVWkdL5ByOHlcslDL+LcKJktNT9riet1cHBNhZvSWLDbdMs5PGcj43s/bcwUShTJia X-Received: by 10.66.119.196 with SMTP id kw4mr2224280pab.164.1376389296633; Tue, 13 Aug 2013 03:21:36 -0700 (PDT) Received: from localhost ([218.17.215.175]) by mx.google.com with ESMTPSA id pu5sm45774630pac.21.2013.08.13.03.20.50 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 13 Aug 2013 03:21:35 -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 1/3] cpufreq / gx: Fix __init attribute locations Date: Tue, 13 Aug 2013 18:20:08 +0800 Message-Id: <1376389210-11470-1-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 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/gx-suspmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/gx-suspmod.c b/drivers/cpufreq/gx-suspmod.c index 3dfc99b..e30fd16 100644 --- a/drivers/cpufreq/gx-suspmod.c +++ b/drivers/cpufreq/gx-suspmod.c @@ -183,7 +183,7 @@ static void gx_write_byte(int reg, int value) * gx_detect_chipset: * **/ -static __init struct pci_dev *gx_detect_chipset(void) +static struct pci_dev * __init gx_detect_chipset(void) { struct pci_dev *gx_pci = NULL;