Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /usr/src/linux-headers-5.15.0-153/include/linux/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0-only */ /* * include/linux/firmware-map.h: * Copyright (C) 2008 SUSE LINUX Products GmbH * by Bernhard Walle <bernhard.walle@gmx.de> */ #ifndef _LINUX_FIRMWARE_MAP_H #define _LINUX_FIRMWARE_MAP_H #include <linux/list.h> /* * provide a dummy interface if CONFIG_FIRMWARE_MEMMAP is disabled */ #ifdef CONFIG_FIRMWARE_MEMMAP int firmware_map_add_early(u64 start, u64 end, const char *type); int firmware_map_add_hotplug(u64 start, u64 end, const char *type); int firmware_map_remove(u64 start, u64 end, const char *type); #else /* CONFIG_FIRMWARE_MEMMAP */ static inline int firmware_map_add_early(u64 start, u64 end, const char *type) { return 0; } static inline int firmware_map_add_hotplug(u64 start, u64 end, const char *type) { return 0; } static inline int firmware_map_remove(u64 start, u64 end, const char *type) { return 0; } #endif /* CONFIG_FIRMWARE_MEMMAP */ #endif /* _LINUX_FIRMWARE_MAP_H */