commit | e9d8da807d818ce8e8399f528fd8efaac3eef36b | [log] [tgz] |
---|---|---|
author | Josh Wu <josh.wu@atmel.com> | Wed Sep 18 11:31:19 2013 +0800 |
committer | Brian Norris <computersforpeace@gmail.com> | Sun Oct 27 16:27:03 2013 -0700 |
tree | ed6595a58129b96afb02c4e9be8c00e02c3ae495 | |
parent | 86bc7bddc9bf7841372df5880805506228dbf4f4 [diff] |
mtd: atmel_nand: remove #if defined(CONFIG_OF) around OF-specific code 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@atmel.com> Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>