arch/arm/include/asm/hardware/cache-uniphier.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | /* |
| 3 | * Copyright (C) 2015-2016 Socionext Inc. |
| 4 | * Author: Masahiro Yamada <[email protected]> |
| 5 | */ |
| 6 | |
| 7 | #ifndef __CACHE_UNIPHIER_H |
| 8 | #define __CACHE_UNIPHIER_H |
| 9 | |
| 10 | #include <linux/errno.h> |
| 11 | |
| 12 | #ifdef CONFIG_CACHE_UNIPHIER |
| 13 | int uniphier_cache_init(void); |
| 14 | #else |
| 15 | static inline int uniphier_cache_init(void) |
| 16 | { |
| 17 | return -ENODEV; |
| 18 | } |
| 19 | #endif |
| 20 | |
| 21 | #endif /* __CACHE_UNIPHIER_H */ |