physmap-bt1-rom.h 401 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. #include <linux/mtd/map.h>
  3. #include <linux/of.h>
  4. #ifdef CONFIG_MTD_PHYSMAP_BT1_ROM
  5. int of_flash_probe_bt1_rom(struct platform_device *pdev,
  6. struct device_node *np,
  7. struct map_info *map);
  8. #else
  9. static inline
  10. int of_flash_probe_bt1_rom(struct platform_device *pdev,
  11. struct device_node *np,
  12. struct map_info *map)
  13. {
  14. return 0;
  15. }
  16. #endif