^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #include <linux/of.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #include <linux/mtd/map.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #ifdef CONFIG_MTD_PHYSMAP_GEMINI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) int of_flash_probe_gemini(struct platform_device *pdev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) struct device_node *np,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) struct map_info *map);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) static inline
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) int of_flash_probe_gemini(struct platform_device *pdev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) struct device_node *np,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct map_info *map)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #endif