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: 4248991 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 84BF7BF90B for ; Tue, 27 May 2014 12:07:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8AB4320279 for ; Tue, 27 May 2014 12:07:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (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 8C6932025A for ; Tue, 27 May 2014 12:07:49 +0000 (UTC) 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-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; bh=3i/48ui1NQLdwN67NH1fQu3t0kEYRsg2JNJCGsKkMfQ=; b=i61xzTGOcqyi6NBPVfWSiOAG8qCdCpW8MVLgOWCLhgjOvbTay2mJFktjNdUZEGrIR1 Cdc+DUy7Md9QmfUFSQjQvGwLNTzjV+in4mZ2mk1ciPZlWwegJEwJxLn+CWS7m/7a/Fon y/apmF9LGKfnmEbLQBn3XTyUGlRi6dkdjPvN008A0zb6ddz3mVQ0Xch4vqgEUAW2dysc gAaqsdWtz4iOAwUP/elNStTmMLQLlc3DoGpdOvTgZmy9h6Kh+P/U+2vT8R7MYHKhCigB YEljW+je9G0X4u1MveyqUoL9QXUXHEY6+8nz5jANP4bBL8XqX27CzMPw3yPZbyo6V7uv iN/Q== X-Gm-Message-State: ALoCoQnYe9Es5v/ly92VzfJJsX3mIHNPtBAqHAtRveWhdYaLEVq3Ba3zDb/3YFN+kBRIfLsxAO4N 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 (/) 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,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 '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)