Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Copyright (C) 2015-2016 Socionext Inc.
0004  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
0005  */
0006 
0007 #ifndef __CACHE_UNIPHIER_H
0008 #define __CACHE_UNIPHIER_H
0009 
0010 #include <linux/errno.h>
0011 
0012 #ifdef CONFIG_CACHE_UNIPHIER
0013 int uniphier_cache_init(void);
0014 #else
0015 static inline int uniphier_cache_init(void)
0016 {
0017     return -ENODEV;
0018 }
0019 #endif
0020 
0021 #endif /* __CACHE_UNIPHIER_H */