From: Dmitri Vorobiev Date: Tue, 25 Nov 2008 00:55:04 +0000 (+0200) Subject: [MTD] Make init_redwood_flash function static X-Git-Tag: firefly_0821_release~15933^2~37 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9a2b3974ef3aff7994e802f07fcebe3d8e7a936d;p=firefly-linux-kernel-4.4.55.git [MTD] Make init_redwood_flash function static The function init_redwood_flash is needlessly defined global, make it static by this patch. Signed-off-by: Dmitri Vorobiev Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/maps/redwood.c b/drivers/mtd/maps/redwood.c index de002eb1a7fe..933c0b63b016 100644 --- a/drivers/mtd/maps/redwood.c +++ b/drivers/mtd/maps/redwood.c @@ -122,7 +122,7 @@ struct map_info redwood_flash_map = { static struct mtd_info *redwood_mtd; -int __init init_redwood_flash(void) +static int __init init_redwood_flash(void) { int err;