From patchwork Tue May 27 12:03:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 30969 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f199.google.com (mail-yk0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4AA2F203C3 for ; Tue, 27 May 2014 12:07:09 +0000 (UTC) Received: by mail-yk0-f199.google.com with SMTP id 200sf22494275ykr.10 for ; Tue, 27 May 2014 05:07:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=T55Plw050tg6N4jiIdwrmOOH1l+UCSOYB464XXwymks=; b=TpRv3bjjzUUqvIgk0o1Zkv7ZI+7QOuP2/a6y1Mb4U8D4HAdS6olVxfJlJffW0D9pTY 1BNYur5wIh+a/0VMmxMIXIqUm+Uo2J3Gj0vax/h3U8rJcburuxFBWpV7rR2lZd83iqI2 fNwtwxif4A/yPqf3DTq/K4P3CWFbxFfLU0wkaRuEqpBXPfoWfGpvdZimHFFXdCys1YVx Kf4EdVbXrQRLJcEoBLZAtD47kEB4ejZfiDHTkwLebVc2iEmj1TvfECX92zgH21RrVmwi w+Mp826tn4xNu/4FfnDRz6mToasWFE49QlFnkfK29PFeHTqfsQJSJaiJiJXYkKF3ay/L XZlw== X-Gm-Message-State: ALoCoQnYOjYkVK9LDMEwuQv4GRj3UcH71UL+txKg9HUoRqEH1kUzq0SMQoJuuLLsoDSC9Kfwe8Io X-Received: by 10.224.12.14 with SMTP id v14mr5934791qav.8.1401192429129; Tue, 27 May 2014 05:07:09 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.48.145 with SMTP id o17ls2427379qga.37.gmail; Tue, 27 May 2014 05:07:09 -0700 (PDT) X-Received: by 10.52.164.70 with SMTP id yo6mr210966vdb.67.1401192429024; Tue, 27 May 2014 05:07:09 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id fs13si2753040vdb.23.2014.05.27.05.07.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 05:07:09 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.170 as permitted sender) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id db11so10534372veb.15 for ; Tue, 27 May 2014 05:07:08 -0700 (PDT) X-Received: by 10.221.7.71 with SMTP id on7mr26683906vcb.18.1401192428937; Tue, 27 May 2014 05:07:08 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp113513vcb; Tue, 27 May 2014 05:07:08 -0700 (PDT) X-Received: by 10.140.32.97 with SMTP id g88mr38664939qgg.17.1401192428568; Tue, 27 May 2014 05:07:08 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id v7si11200179qay.21.2014.05.27.05.07.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 May 2014 05:07:08 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WpG8d-0003TP-9c; Tue, 27 May 2014 12:05:51 +0000 Received: from mail-pa0-f50.google.com ([209.85.220.50]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WpG8a-0003MP-Go for linux-arm-kernel@lists.infradead.org; Tue, 27 May 2014 12:05:48 +0000 Received: by mail-pa0-f50.google.com with SMTP id fb1so9012572pad.23 for ; Tue, 27 May 2014 05:05:27 -0700 (PDT) X-Received: by 10.66.180.34 with SMTP id dl2mr36045956pac.124.1401192327274; Tue, 27 May 2014 05:05:27 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id pu5sm2978347pbb.4.2014.05.27.05.05.24 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 05:05:26 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] ARM: ux500: Staticize ux500_soc_attr Date: Tue, 27 May 2014 17:33:08 +0530 Message-Id: <1401192188-10936-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140527_050548_612627_5B8FAC31 X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.50 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record Cc: sachin.kamat@linaro.org, linus.walleij@linaro.org, lee.jones@linaro.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+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 'ux500_soc_attr' is local to this file. Signed-off-by: Sachin Kamat --- arch/arm/mach-ux500/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c index db16b5a04ad5..4dfa04a96f4d 100644 --- a/arch/arm/mach-ux500/cpu.c +++ b/arch/arm/mach-ux500/cpu.c @@ -125,7 +125,7 @@ static void __init soc_info_populate(struct soc_device_attribute *soc_dev_attr, soc_dev_attr->revision = ux500_get_revision(); } -struct device_attribute ux500_soc_attr = +static struct device_attribute ux500_soc_attr = __ATTR(process, S_IRUGO, ux500_get_process, NULL); struct device * __init ux500_soc_device_init(const char *soc_id)