summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/physmap_of_gemini.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2017-02-08 18:09:37 -0800
committerBrian Norris <computersforpeace@gmail.com>2017-02-10 09:53:41 -0800
commit4f04f68e1598087a8110e8946bfb321eebe115c9 (patch)
treeebf1008a60d9e40b92058c51820b2c0143349ff6 /drivers/mtd/maps/physmap_of_gemini.c
parent42e9401bd1467d22c4dc4d2c637347b874e6a80b (diff)
downloadlinux-4f04f68e1598087a8110e8946bfb321eebe115c9.tar.bz2
mtd: physmap_of: fixup gemini/versatile dependencies
physmap_of sort of depends on the gemini and versatile modules (when they're enabled), but this isn't expressed in Kconfig. Let's just merge the modules all together, when enabled. Then we can avoid exporting a few symbols, and the versatile and gemini code can now be modular again (the below commit accidentally made them built-in only). Resolves errors like this: ERROR: "of_flash_probe_versatile" [drivers/mtd/maps/physmap_of.ko] undefined! ERROR: "of_flash_probe_gemini" [drivers/mtd/maps/physmap_of.ko] undefined! Fixes: 56ff337ea433 ("mtd: physmap_of: add a hook for Gemini flash probing") Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/mtd/maps/physmap_of_gemini.c')
-rw-r--r--drivers/mtd/maps/physmap_of_gemini.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/maps/physmap_of_gemini.c b/drivers/mtd/maps/physmap_of_gemini.c
index e99db772143b..9d371cd728ea 100644
--- a/drivers/mtd/maps/physmap_of_gemini.c
+++ b/drivers/mtd/maps/physmap_of_gemini.c
@@ -115,4 +115,3 @@ int of_flash_probe_gemini(struct platform_device *pdev,
return 0;
}
-EXPORT_SYMBOL_GPL(of_flash_probe_gemini);