diff options
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r-- | scripts/mod/modpost.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 4522948a012e..801a16a17545 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
@@ -691,7 +691,7 @@ static int number_prefix(const char *sym) | |||
691 | * The $ syntax is for sections where ld append a dot number | 691 | * The $ syntax is for sections where ld append a dot number |
692 | * to make section name unique. | 692 | * to make section name unique. |
693 | */ | 693 | */ |
694 | int match(const char *sym, const char * const pat[]) | 694 | static int match(const char *sym, const char * const pat[]) |
695 | { | 695 | { |
696 | const char *p; | 696 | const char *p; |
697 | while (*pat) { | 697 | while (*pat) { |
@@ -1746,7 +1746,7 @@ static void add_header(struct buffer *b, struct module *mod) | |||
1746 | buf_printf(b, "};\n"); | 1746 | buf_printf(b, "};\n"); |
1747 | } | 1747 | } |
1748 | 1748 | ||
1749 | void add_staging_flag(struct buffer *b, const char *name) | 1749 | static void add_staging_flag(struct buffer *b, const char *name) |
1750 | { | 1750 | { |
1751 | static const char *staging_dir = "drivers/staging"; | 1751 | static const char *staging_dir = "drivers/staging"; |
1752 | 1752 | ||