physmap_of_versatile.h 374 B

1234567891011121314151617
  1. #include <linux/of.h>
  2. #include <linux/mtd/map.h>
  3. #ifdef CONFIG_MTD_PHYSMAP_OF_VERSATILE
  4. int of_flash_probe_versatile(struct platform_device *pdev,
  5. struct device_node *np,
  6. struct map_info *map);
  7. #else
  8. static inline
  9. int of_flash_probe_versatile(struct platform_device *pdev,
  10. struct device_node *np,
  11. struct map_info *map)
  12. {
  13. return 0;
  14. }
  15. #endif