physmap-ixp4xx.h 424 B

123456789101112131415161718
  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. #ifdef CONFIG_MTD_PHYSMAP_IXP4XX
  6. int of_flash_probe_ixp4xx(struct platform_device *pdev,
  7. struct device_node *np,
  8. struct map_info *map);
  9. #else
  10. static inline
  11. int of_flash_probe_ixp4xx(struct platform_device *pdev,
  12. struct device_node *np,
  13. struct map_info *map)
  14. {
  15. return 0;
  16. }
  17. #endif