* [PATCH] ARM: ux500: Staticise ux500_soc_attr
@ 2014-04-02 8:01 Thierry Reding
2014-04-03 15:55 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Thierry Reding @ 2014-04-02 8:01 UTC (permalink / raw)
To: linux-arm-kernel
This variable is not used outside of the file that it's declared in, so
reduce the scope to the local file.
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
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)
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: ux500: Staticise ux500_soc_attr
2014-04-02 8:01 [PATCH] ARM: ux500: Staticise ux500_soc_attr Thierry Reding
@ 2014-04-03 15:55 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2014-04-03 15:55 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Apr 2, 2014 at 10:01 AM, Thierry Reding <treding@nvidia.com> wrote:
> This variable is not used outside of the file that it's declared in, so
> reduce the scope to the local file.
>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
Patch applied to the ux500 tree.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-03 15:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-02 8:01 [PATCH] ARM: ux500: Staticise ux500_soc_attr Thierry Reding
2014-04-03 15:55 ` Linus Walleij
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.