mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 09:13:55 +08:00
13cf4cf030
The commit9209fb5189
("riscv: move sifive_l2_cache.c to drivers/soc") moves the sifive L2 cache driver to driver/soc. It did not move the header file along with the driver. Therefore this patch moves the header file to driver/soc Signed-off-by: Yash Shah <yash.shah@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org> [paul.walmsley@sifive.com: updated to fix the include guard] Fixes:9209fb5189
("riscv: move sifive_l2_cache.c to drivers/soc") Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
17 lines
408 B
C
17 lines
408 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* SiFive L2 Cache Controller header file
|
|
*
|
|
*/
|
|
|
|
#ifndef __SOC_SIFIVE_L2_CACHE_H
|
|
#define __SOC_SIFIVE_L2_CACHE_H
|
|
|
|
extern int register_sifive_l2_error_notifier(struct notifier_block *nb);
|
|
extern int unregister_sifive_l2_error_notifier(struct notifier_block *nb);
|
|
|
|
#define SIFIVE_L2_ERR_TYPE_CE 0
|
|
#define SIFIVE_L2_ERR_TYPE_UE 1
|
|
|
|
#endif /* __SOC_SIFIVE_L2_CACHE_H */
|