1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/of.h>
3 #include <linux/platform_device.h>
4 #include <linux/mtd/map.h>
5 
6 #ifdef CONFIG_MTD_PHYSMAP_IXP4XX
7 int of_flash_probe_ixp4xx(struct platform_device *pdev,
8 			  struct device_node *np,
9 			  struct map_info *map);
10 #else
11 static inline
of_flash_probe_ixp4xx(struct platform_device * pdev,struct device_node * np,struct map_info * map)12 int of_flash_probe_ixp4xx(struct platform_device *pdev,
13 			  struct device_node *np,
14 			  struct map_info *map)
15 {
16 	return 0;
17 }
18 #endif
19