19 lines · c
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_IXP4XX7int of_flash_probe_ixp4xx(struct platform_device *pdev,8 struct device_node *np,9 struct map_info *map);10#else11static inline12int of_flash_probe_ixp4xx(struct platform_device *pdev,13 struct device_node *np,14 struct map_info *map)15{16 return 0;17}18#endif19