summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/physmap_of_gemini.h
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-10-19 09:49:05 +0200
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-11-05 22:24:29 +0100
commit6ca15cfa0788ebef365ce31d1e01ea30a389a895 (patch)
treefe6dbb27a233f1f56b2c54be0b0edfbff5d05304 /drivers/mtd/maps/physmap_of_gemini.h
parent642b1e8dbed7bbbf8c4deb3c9a0496f17278badc (diff)
mtd: maps: Rename physmap_of_{versatile, gemini} into physmap-{versatile, gemini}
Now that the physmap_of driver is gone, the gemini and versative extensions are part of the physmap driver. Rename the source files and the config option to reflect this. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/mtd/maps/physmap_of_gemini.h')
-rw-r--r--drivers/mtd/maps/physmap_of_gemini.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/mtd/maps/physmap_of_gemini.h b/drivers/mtd/maps/physmap_of_gemini.h
deleted file mode 100644
index 60e13a689d6a..000000000000
--- a/drivers/mtd/maps/physmap_of_gemini.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#include <linux/of.h>
-#include <linux/mtd/map.h>
-
-#ifdef CONFIG_MTD_PHYSMAP_OF_GEMINI
-int of_flash_probe_gemini(struct platform_device *pdev,
- struct device_node *np,
- struct map_info *map);
-#else
-static inline
-int of_flash_probe_gemini(struct platform_device *pdev,
- struct device_node *np,
- struct map_info *map)
-{
- return 0;
-}
-#endif