Message ID | 1376389876-11791-3-git-send-email-hanjun.guo@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDWLZTMOWUARBZUXVCIAKGQE5IJQ6SA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f197.google.com (mail-ve0-f197.google.com [209.85.128.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C289624687 for <linaro@patches.linaro.org>; Tue, 13 Aug 2013 10:35:18 +0000 (UTC) Received: by mail-ve0-f197.google.com with SMTP id ox1sf3881729veb.8 for <linaro@patches.linaro.org>; Tue, 13 Aug 2013 03:35:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=cvj8mfeyybx8zGxOS4+MyMMyC/XzTBV9QORiAKj49CY=; b=MQAZl/n5M0SDYRo2x26Um7UeyNxmbW1RzmwInq6qc+PUXqCRP8YZrMZshSNIN+EUPc PPImLn+csOoiVwLuqHSNfHcoUs9b4o+jxKJhtF4K5C19APcCTQeVauLL5kL55Mn/rza6 Bo9Xajt4pusihKpah39L321N0u8wsCJAbjMbnjB4jJF/2Ajd+0BS9aQCIUS/oNqEu6EM U8yPTivHxWhDKfprCLZIV+vAAl97Lu5yZgGireZaVhaNYU30yvaZoO2K5CgwRVk/3/e2 p2Tcpw4KyxXJOv3uYsRQcYErnOOSBzcNG0HBLnLHv0seJPm4Op+3B+sINAaMXsBKfrpz wLLw== X-Received: by 10.236.149.170 with SMTP id x30mr1408219yhj.20.1376390118355; Tue, 13 Aug 2013 03:35:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.134.74 with SMTP id pi10ls2226144qeb.35.gmail; Tue, 13 Aug 2013 03:35:18 -0700 (PDT) X-Received: by 10.58.208.130 with SMTP id me2mr3804785vec.13.1376390118235; Tue, 13 Aug 2013 03:35:18 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id mu5si9555753vec.141.2013.08.13.03.35.18 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 Aug 2013 03:35:18 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id ha11so2686086vcb.7 for <patchwork-forward@linaro.org>; Tue, 13 Aug 2013 03:35:18 -0700 (PDT) X-Gm-Message-State: ALoCoQmElwkRbqg1CPy03cYD0T5+ILAsHWPaymMbIBG4r0ZrxG2Ajbon7Ssxz5+lNXeEku2q0s3c X-Received: by 10.221.36.4 with SMTP id sy4mr3870977vcb.11.1376390118153; Tue, 13 Aug 2013 03:35:18 -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.220.174.196 with SMTP id u4csp146460vcz; Tue, 13 Aug 2013 03:35:17 -0700 (PDT) X-Received: by 10.68.189.8 with SMTP id ge8mr3288389pbc.49.1376390116064; Tue, 13 Aug 2013 03:35:16 -0700 (PDT) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by mx.google.com with ESMTPS id dw1si24680030pbc.6.2013.08.13.03.35.15 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 Aug 2013 03:35:16 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.172 is neither permitted nor denied by best guess record for domain of hanjun.guo@linaro.org) client-ip=209.85.192.172; Received: by mail-pd0-f172.google.com with SMTP id z10so4699202pdj.3 for <patches@linaro.org>; Tue, 13 Aug 2013 03:35:15 -0700 (PDT) X-Received: by 10.67.11.103 with SMTP id eh7mr3823668pad.153.1376390115497; Tue, 13 Aug 2013 03:35:15 -0700 (PDT) Received: from localhost ([218.17.215.175]) by mx.google.com with ESMTPSA id ai6sm45866480pad.15.2013.08.13.03.34.35 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 13 Aug 2013 03:35:14 -0700 (PDT) From: Hanjun Guo <hanjun.guo@linaro.org> To: "Rafael J. Wysocki" <rjw@sisk.pl> Cc: linux-acpi@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org, linaro-acpi@lists.linaro.org, Hanjun Guo <hanjun.guo@linaro.org> Subject: [PATCH 3/3] ACPI / osl: Fix __initdata attribute locations Date: Tue, 13 Aug 2013 18:31:15 +0800 Message-Id: <1376389876-11791-3-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1376389876-11791-1-git-send-email-hanjun.guo@linaro.org> References: <1376389876-11791-1-git-send-email-hanjun.guo@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: hanjun.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.176 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 6ab2c35..5c81f20 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -1351,8 +1351,8 @@ struct osi_setup_entry { bool enable; }; -static struct osi_setup_entry __initdata - osi_setup_entries[OSI_STRING_ENTRIES_MAX] = { +static struct osi_setup_entry + osi_setup_entries[OSI_STRING_ENTRIES_MAX] __initdata = { {"Module Device", true}, {"Processor Device", true}, {"3.0 _SCP Extensions", true},
__initdata should come after the variable name being declared and nowhere else, in this way the variable will be placed in the intended section. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> --- drivers/acpi/osl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)