]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memory: pl172: fix modular build
authorJoachim Eastwood <manabian@gmail.com>
Wed, 22 Jul 2015 22:10:37 +0000 (00:10 +0200)
committerOlof Johansson <olof@lixom.net>
Wed, 22 Jul 2015 23:10:09 +0000 (16:10 -0700)
commit0ff818eff55aa80cb00bb3d89e824dd568d5a7f8
tree6cc786c65c2fc7ed7e4f8d342aae537850357e50
parent18eb5e9fb2936cb5d4b6899a102e97d84547f2f5
memory: pl172: fix modular build

Building pl172 as a module fails with:
> ERROR: "of_default_bus_match_table" [drivers/memory/pl172.ko] undefined!

Because the symbol of_default_bus_match_table isn't exported by the OF
core code so can't be referenced from modules. Fix this by removing
the usage of of_default_bus_match_table for now. The side effect of
this is that child nodes can't use "simple-bus" or "simple-mfd".

Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/memory/pl172.c