Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / mtd / maps / physmap-bt1-rom.h
blob6782899598a4cd64c6771c792c6db33ba14ee510
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #include <linux/mtd/map.h>
3 #include <linux/of.h>
5 #ifdef CONFIG_MTD_PHYSMAP_BT1_ROM
6 int of_flash_probe_bt1_rom(struct platform_device *pdev,
7 struct device_node *np,
8 struct map_info *map);
9 #else
10 static inline
11 int of_flash_probe_bt1_rom(struct platform_device *pdev,
12 struct device_node *np,
13 struct map_info *map)
15 return 0;
17 #endif