Skip to content

Commit

Permalink
[MTD] Make alchemy_mtd_init function static
Browse files Browse the repository at this point in the history
The symbol alchemy_mtd_init does not need to be global, so make it
static in drivers/mtd/maps/alchemy-flash.c.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
Dmitri Vorobiev authored and David Woodhouse committed Dec 10, 2008
1 parent 9bd1c9d commit b93dc2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/maps/alchemy-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ static struct mtd_partition alchemy_partitions[] = {

static struct mtd_info *mymtd;

int __init alchemy_mtd_init(void)
static int __init alchemy_mtd_init(void)
{
struct mtd_partition *parts;
int nb_parts = 0;
Expand Down

0 comments on commit b93dc2e

Please sign in to comment.