Skip to content

Commit fca9108

Browse files
H Hartley SweetenDavid Woodhouse
authored andcommitted
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>
1 parent 0acfe53 commit fca9108

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/mtd/mtdcore.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,11 @@ static struct attribute *mtd_attrs[] = {
213213
NULL,
214214
};
215215

216-
struct attribute_group mtd_group = {
216+
static struct attribute_group mtd_group = {
217217
.attrs = mtd_attrs,
218218
};
219219

220-
struct attribute_group *mtd_groups[] = {
220+
static struct attribute_group *mtd_groups[] = {
221221
&mtd_group,
222222
NULL,
223223
};

0 commit comments

Comments
 (0)