[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141022083456.GF16128@brian-ubuntu>
Date: Wed, 22 Oct 2014 01:34:56 -0700
From: Brian Norris <computersforpeace@...il.com>
To: Rostislav Lisovy <lisovy@...il.com>
Cc: David Woodhouse <dwmw2@...radead.org>,
Tony Lindgren <tony@...mide.com>,
Roger Quadros <rogerq@...com>, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org, michal.vokac@...ap.cz,
sojkam1@....cvut.cz, Rostislav Lisovy <lisovy@...ica.cz>
Subject: Re: [PATCH v2 1/2] mtd: nand: omap: Do not use global variables
On Thu, Oct 02, 2014 at 02:16:12PM +0200, Rostislav Lisovy wrote:
> Since the commit 97a288ba2cfa ("ARM: omap2+: gpmc-nand: Use
> dynamic platform_device_alloc()") gpmc-nand driver supports
> multiple NAND flash devices connected to the single controller.
> Remove global variable to make the code thread-safe.
>
> Signed-off-by: Rostislav Lisovy <lisovy@...ica.cz>
> ---
> Changes since v1:
> * Do not dynamically allocate the 'struct nand_ecclayout' but rather
> include it in the 'struct omap_nand_info' (Roger Quadros)
Pushed to l2-mtd.git with some small changes to the comment.
Thanks,
Brian
--
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