diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-29 14:49:38 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-29 19:54:58 +0100 |
commit | 2b9175c174b83b8d97db9398efe948fa9092938f (patch) | |
tree | 636ccdc70d45b3bb1268dfd00f985c2015b8d7dc /drivers/mtd/maps/physmap.c | |
parent | ee2d49de3e3a0b846ecedb36fec0e4a5ff222dcb (diff) |
[MTD] Make functions static, include header files with prototypes
This patch contains the following possible cleanups:
- every file should #include the headers containing the prototypes for
it's global functions
- make needlessly global functions static
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/maps/physmap.c')
-rw-r--r-- | drivers/mtd/maps/physmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/maps/physmap.c b/drivers/mtd/maps/physmap.c index 9ee760f97bc6..f49ebc3c4606 100644 --- a/drivers/mtd/maps/physmap.c +++ b/drivers/mtd/maps/physmap.c @@ -1,5 +1,5 @@ /* - * $Id: physmap.c,v 1.38 2005/11/07 11:14:28 gleixner Exp $ + * $Id: physmap.c,v 1.39 2005/11/29 14:49:36 gleixner Exp $ * * Normal mappings of chips in physical memory * @@ -19,6 +19,7 @@ #include <linux/mtd/map.h> #include <linux/config.h> #include <linux/mtd/partitions.h> +#include <linux/mtd/physmap.h> static struct mtd_info *mymtd; |