]> git.ipfire.org Git - thirdparty/kernel/linux.git/blob - include/linux/sram.h
Merge tag 'input-for-v6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor...
[thirdparty/kernel/linux.git] / include / linux / sram.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Generic SRAM Driver Interface */
3 #ifndef __LINUX_SRAM_H__
4 #define __LINUX_SRAM_H__
5
6 struct gen_pool;
7
8 #ifdef CONFIG_SRAM_EXEC
9 void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src, size_t size);
10 #else
11 static inline void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src,
12 size_t size)
13 {
14 return NULL;
15 }
16 #endif /* CONFIG_SRAM_EXEC */
17 #endif /* __LINUX_SRAM_H__ */