]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
of_mtd: Add no-op stubs to support CONFIG_OF=n
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 3 Sep 2013 02:37:53 +0000 (23:37 -0300)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 15 Oct 2013 20:56:29 +0000 (13:56 -0700)
commit4dc3ab1bdb92193c5bf0676a612eb6956a9d6b15
tree21d19bc61ae9c604c40fb7bf640a31b0f2da3da2
parentdeff1d983d1d4d31bd76daca067c4d2a688d492f
of_mtd: Add no-op stubs to support CONFIG_OF=n

Just like the rest of the subsystems, let's add the required no-op
functions to implement stubs when CONFIG_OF=n.

This prevents MTD drivers from having ugly ifdefs in their code,
and instead hide the ifdef monster in the header closet (far away
from people's sight).

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
include/linux/of_mtd.h