]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - drivers/mtd/maps/physmap_of_gemini.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / drivers / mtd / maps / physmap_of_gemini.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
56ff337e
LW
2#include <linux/of.h>
3#include <linux/mtd/map.h>
4
5#ifdef CONFIG_MTD_PHYSMAP_OF_GEMINI
6int of_flash_probe_gemini(struct platform_device *pdev,
7 struct device_node *np,
8 struct map_info *map);
9#else
10static inline
11int of_flash_probe_gemini(struct platform_device *pdev,
12 struct device_node *np,
13 struct map_info *map)
14{
15 return 0;
16}
17#endif