GNU Linux-libre 5.15.137-gnu
[releases.git] / arch / arm / include / asm / hardware / cache-uniphier.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (C) 2015-2016 Socionext Inc.
4  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
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 */