diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/spurious.c | 2 | ||||
-rw-r--r-- | kernel/module.c | 2 | ||||
-rw-r--r-- | kernel/power/swsusp.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c index f6297c306905..ba039e827d58 100644 --- a/kernel/irq/spurious.c +++ b/kernel/irq/spurious.c | |||
@@ -45,7 +45,7 @@ __report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret) | |||
45 | } | 45 | } |
46 | } | 46 | } |
47 | 47 | ||
48 | void report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret) | 48 | static void report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret) |
49 | { | 49 | { |
50 | static int count = 100; | 50 | static int count = 100; |
51 | 51 | ||
diff --git a/kernel/module.c b/kernel/module.c index 0494c89a0d26..068e271ab3a5 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
@@ -730,7 +730,7 @@ static int obsparm_copy_string(const char *val, struct kernel_param *kp) | |||
730 | return 0; | 730 | return 0; |
731 | } | 731 | } |
732 | 732 | ||
733 | int set_obsolete(const char *val, struct kernel_param *kp) | 733 | static int set_obsolete(const char *val, struct kernel_param *kp) |
734 | { | 734 | { |
735 | unsigned int min, max; | 735 | unsigned int min, max; |
736 | unsigned int size, maxsize; | 736 | unsigned int size, maxsize; |
diff --git a/kernel/power/swsusp.c b/kernel/power/swsusp.c index 90b3b68dee3f..53f9f8720ee4 100644 --- a/kernel/power/swsusp.c +++ b/kernel/power/swsusp.c | |||
@@ -81,7 +81,7 @@ static int nr_copy_pages_check; | |||
81 | extern char resume_file[]; | 81 | extern char resume_file[]; |
82 | 82 | ||
83 | /* Local variables that should not be affected by save */ | 83 | /* Local variables that should not be affected by save */ |
84 | unsigned int nr_copy_pages __nosavedata = 0; | 84 | static unsigned int nr_copy_pages __nosavedata = 0; |
85 | 85 | ||
86 | /* Suspend pagedir is allocated before final copy, therefore it | 86 | /* Suspend pagedir is allocated before final copy, therefore it |
87 | must be freed after resume | 87 | must be freed after resume |