c675025288ddf901bc422f3105e4a45514cced9f
[sfrench/cifs-2.6.git] / drivers / mtd / maps / physmap_of_gemini.h
1 #include <linux/of.h>
2 #include <linux/mtd/map.h>
3
4 #ifdef CONFIG_MTD_PHYSMAP_OF_GEMINI
5 int of_flash_probe_gemini(struct platform_device *pdev,
6                           struct device_node *np,
7                           struct map_info *map);
8 #else
9 static inline
10 int of_flash_probe_gemini(struct platform_device *pdev,
11                           struct device_node *np,
12                           struct map_info *map)
13 {
14         return 0;
15 }
16 #endif