License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6/btrfs-unstable.git] / drivers / mtd / maps / physmap_of_versatile.h
blob0302502c9462c660c3e9570c1619999d622404ea
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/of.h>
3 #include <linux/mtd/map.h>
5 #ifdef CONFIG_MTD_PHYSMAP_OF_VERSATILE
6 int of_flash_probe_versatile(struct platform_device *pdev,
7 struct device_node *np,
8 struct map_info *map);
9 #else
10 static inline
11 int of_flash_probe_versatile(struct platform_device *pdev,
12 struct device_node *np,
13 struct map_info *map)
15 return 0;
17 #endif