Commit e4582ea71cb651e02924fb39c9373a9e737088ce
Committed by
David Woodhouse
1 parent
9ee49fa5c1
Exists in
master
and in
7 other branches
[MTD] Make lart_flash_init, lart_flash_exit static
The symbols lart_flash_init, lart_flash_exit are needlessly defined global in drivers/mtd/devices/lart.c, so make them static. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Showing 1 changed file with 2 additions and 4 deletions Side-by-side Diff
drivers/mtd/devices/lart.c
... | ... | @@ -619,7 +619,7 @@ |
619 | 619 | }; |
620 | 620 | #endif |
621 | 621 | |
622 | -int __init lart_flash_init (void) | |
622 | +static int __init lart_flash_init (void) | |
623 | 623 | { |
624 | 624 | int result; |
625 | 625 | memset (&mtd,0,sizeof (mtd)); |
... | ... | @@ -690,7 +690,7 @@ |
690 | 690 | return (result); |
691 | 691 | } |
692 | 692 | |
693 | -void __exit lart_flash_exit (void) | |
693 | +static void __exit lart_flash_exit (void) | |
694 | 694 | { |
695 | 695 | #ifndef HAVE_PARTITIONS |
696 | 696 | del_mtd_device (&mtd); |