mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 01:50:53 +07:00
[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>
This commit is contained in:
parent
9cdd52fa97
commit
2257594f9c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user