[PATCH v2 1/2] mtd: atmel_nand: remove #if defined(CONFIG_OF) around OF-specific code

Brian Norris computersforpeace at gmail.com
Wed Sep 18 17:45:42 EDT 2013


On Wed, Sep 18, 2013 at 11:31:19AM +0800, Josh Wu wrote:
> Since the of specific code are declared in <linux/of_mtd.h> regardless
> of CONFIG_OF. Remove the #if defined(CONFIG_OF) guard and use an
> IS_ENABLED(CONFIG_OF) instead.
> 
> Thanks to Ezequiel Garcia's for this protype.
> 
> Signed-off-by: Josh Wu <josh.wu at atmel.com>
> Acked-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>

Pushed both to l2-mtd.git. Thanks!

Brian



More information about the linux-arm-kernel mailing list