File Index
Files and directories
Sign in
FILE

physmap-bt1-rom.h

File preview with syntax highlighting.

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