2019-05-27 14:55:06 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2015-10-02 12:42:19 +08:00
|
|
|
/*
|
2016-08-10 19:00:48 +08:00
|
|
|
* Copyright (C) 2015-2016 Socionext Inc.
|
|
|
|
* Author: Masahiro Yamada <yamada.masahiro@socionext.com>
|
2015-10-02 12:42:19 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CACHE_UNIPHIER_H
|
|
|
|
#define __CACHE_UNIPHIER_H
|
|
|
|
|
2017-02-01 21:29:22 +08:00
|
|
|
#include <linux/errno.h>
|
2015-10-02 12:42:19 +08: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 */
|