Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / mtd / maps / physmap-ixp4xx.h
blob46824c57e58a6013660a092a9f46f58e88a3699d
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/of.h>
3 #include <linux/platform_device.h>
4 #include <linux/mtd/map.h>
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
12 int of_flash_probe_ixp4xx(struct platform_device *pdev,
13 struct device_node *np,
14 struct map_info *map)
16 return 0;
18 #endif