* [2.6 patch] mtd/chips/cfi_cmdset_0020.c: make a function static
@ 2008-04-14 14:20 Adrian Bunk
2008-04-14 15:49 ` Josh Boyer
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-04-14 14:20 UTC (permalink / raw
To: dwmw2; +Cc: linux-mtd, linux-kernel
This patch makes the needlessly global cfi_staa_erase_varsize() static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
071e1e3116928c1625f475a0fba2f96ee897a95c diff --git a/drivers/mtd/chips/cfi_cmdset_0020.c b/drivers/mtd/chips/cfi_cmdset_0020.c
index 492e2ab..356939b 100644
--- a/drivers/mtd/chips/cfi_cmdset_0020.c
+++ b/drivers/mtd/chips/cfi_cmdset_0020.c
@@ -893,7 +893,8 @@ retry:
return ret;
}
-int cfi_staa_erase_varsize(struct mtd_info *mtd, struct erase_info *instr)
+static int cfi_staa_erase_varsize(struct mtd_info *mtd,
+ struct erase_info *instr)
{ struct map_info *map = mtd->priv;
struct cfi_private *cfi = map->fldrv_priv;
unsigned long adr, len;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [2.6 patch] mtd/chips/cfi_cmdset_0020.c: make a function static
2008-04-14 14:20 [2.6 patch] mtd/chips/cfi_cmdset_0020.c: make a function static Adrian Bunk
@ 2008-04-14 15:49 ` Josh Boyer
0 siblings, 0 replies; 2+ messages in thread
From: Josh Boyer @ 2008-04-14 15:49 UTC (permalink / raw
To: Adrian Bunk; +Cc: dwmw2, linux-mtd, linux-kernel
On Mon, 14 Apr 2008 17:20:30 +0300
Adrian Bunk <bunk@kernel.org> wrote:
> This patch makes the needlessly global cfi_staa_erase_varsize() static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
>
> ---
> 071e1e3116928c1625f475a0fba2f96ee897a95c diff --git a/drivers/mtd/chips/cfi_cmdset_0020.c b/drivers/mtd/chips/cfi_cmdset_0020.c
> index 492e2ab..356939b 100644
> --- a/drivers/mtd/chips/cfi_cmdset_0020.c
> +++ b/drivers/mtd/chips/cfi_cmdset_0020.c
> @@ -893,7 +893,8 @@ retry:
> return ret;
> }
>
> -int cfi_staa_erase_varsize(struct mtd_info *mtd, struct erase_info *instr)
> +static int cfi_staa_erase_varsize(struct mtd_info *mtd,
> + struct erase_info *instr)
> { struct map_info *map = mtd->priv;
> struct cfi_private *cfi = map->fldrv_priv;
> unsigned long adr, len;
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-14 15:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-14 14:20 [2.6 patch] mtd/chips/cfi_cmdset_0020.c: make a function static Adrian Bunk
2008-04-14 15:49 ` Josh Boyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).