Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #include <linux/of.h>
0003 #include <linux/mtd/map.h>
0004 
0005 #ifdef CONFIG_MTD_PHYSMAP_GEMINI
0006 int of_flash_probe_gemini(struct platform_device *pdev,
0007               struct device_node *np,
0008               struct map_info *map);
0009 #else
0010 static inline
0011 int of_flash_probe_gemini(struct platform_device *pdev,
0012               struct device_node *np,
0013               struct map_info *map)
0014 {
0015     return 0;
0016 }
0017 #endif