[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080414104925.5416d07c@zod.rchland.ibm.com>
Date: Mon, 14 Apr 2008 10:49:25 -0500
From: Josh Boyer <jwboyer@...ux.vnet.ibm.com>
To: Adrian Bunk <bunk@...nel.org>
Cc: dwmw2@...radead.org, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [2.6 patch] mtd/chips/cfi_cmdset_0020.c: make a function static
On Mon, 14 Apr 2008 17:20:30 +0300
Adrian Bunk <bunk@...nel.org> wrote:
> This patch makes the needlessly global cfi_staa_erase_varsize() static.
>
> Signed-off-by: Adrian Bunk <bunk@...nel.org>
Acked-by: Josh Boyer <jwboyer@...ux.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/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists