Skip to content

Commit

Permalink
[MTD] Make uclinux_mtd_cleanup and uclinux_mtd_init static
Browse files Browse the repository at this point in the history
The functions uclinux_mtd_cleanup and uclinux_mtd_init do
not heed to be global. Add the needed keyword to the file
drivers/mtd/maps/uclinux.c to make these functions static.

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 e4582ea commit 769455e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mtd/maps/uclinux.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int uclinux_point(struct mtd_info *mtd, loff_t from, size_t len,

/****************************************************************************/

int __init uclinux_mtd_init(void)
static int __init uclinux_mtd_init(void)
{
struct mtd_info *mtd;
struct map_info *mapp;
Expand Down Expand Up @@ -94,7 +94,7 @@ int __init uclinux_mtd_init(void)

/****************************************************************************/

void __exit uclinux_mtd_cleanup(void)
static void __exit uclinux_mtd_cleanup(void)
{
if (uclinux_ram_mtdinfo) {
del_mtd_partitions(uclinux_ram_mtdinfo);
Expand Down

0 comments on commit 769455e

Please sign in to comment.