mirror of https://gitee.com/openkylin/linux.git
mtd: make few symbols static
Make mtd_group and mtd_groups static since they are only used in this file. [Amended by Artem Bityutskiy] Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
0acfe530a2
commit
fca9108833
|
@ -213,11 +213,11 @@ static struct attribute *mtd_attrs[] = {
|
|||
NULL,
|
||||
};
|
||||
|
||||
struct attribute_group mtd_group = {
|
||||
static struct attribute_group mtd_group = {
|
||||
.attrs = mtd_attrs,
|
||||
};
|
||||
|
||||
struct attribute_group *mtd_groups[] = {
|
||||
static struct attribute_group *mtd_groups[] = {
|
||||
&mtd_group,
|
||||
NULL,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue