Przeglądaj źródła

[MTD] Make h720x_mtd_init function static

The function h720x_mtd_init is not used outside of the file
drivers/mtd/maps/h720x-flash.c and can therefore become static.
This patch adds the necessary keyword.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Dmitri Vorobiev 16 lat temu
rodzic
commit
2257594f9c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      drivers/mtd/maps/h720x-flash.c

+ 1 - 1
drivers/mtd/maps/h720x-flash.c

@@ -65,7 +65,7 @@ static const char *probes[] = { "cmdlinepart", NULL };
 /*
  * Initialize FLASH support
  */
-int __init h720x_mtd_init(void)
+static int __init h720x_mtd_init(void)
 {
 
 	char	*part_type = NULL;