2019-05-27 06:55:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2015-10-02 04:42:19 +00:00
|
|
|
/*
|
2016-08-10 11:00:48 +00:00
|
|
|
* Copyright (C) 2015-2016 Socionext Inc.
|
|
|
|
* Author: Masahiro Yamada <yamada.masahiro@socionext.com>
|
2015-10-02 04:42:19 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CACHE_UNIPHIER_H
|
|
|
|
#define __CACHE_UNIPHIER_H
|
|
|
|
|
2017-02-01 13:29:22 +00:00
|
|
|
#include <linux/errno.h>
|
2015-10-02 04:42:19 +00:00
|
|
|
|
|
|
|
#ifdef CONFIG_CACHE_UNIPHIER
|
|
|
|
int uniphier_cache_init(void);
|
|
|
|
#else
|
|
|
|
static inline int uniphier_cache_init(void)
|
|
|
|
{
|
|
|
|
return -ENODEV;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __CACHE_UNIPHIER_H */
|