x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / drivers / mtd / maps / physmap_of_versatile.h
blob5b86f6dc6b3d40eb37e93fb7b82a5ba4bc6645a8
1 #include <linux/of.h>
2 #include <linux/mtd/map.h>
4 #ifdef CONFIG_MTD_PHYSMAP_OF_VERSATILE
5 int of_flash_probe_versatile(struct platform_device *pdev,
6 struct device_node *np,
7 struct map_info *map);
8 #else
9 static inline
10 int of_flash_probe_versatile(struct platform_device *pdev,
11 struct device_node *np,
12 struct map_info *map)
14 return 0;
16 #endif