mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-09 04:12:08 -05:00
ARM: ux500: Staticise ux500_soc_attr
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 <[email protected]> [Also add const marker after suggestion from Lee Jones] Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
cd3de83f14
commit
51fe0057cd
1 changed files with 1 additions and 1 deletions
|
|
@ -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 const 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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue