blob: b1fefca65d4d68f0ed18a1ab270542030c33c533 [file] [log] [blame]
Thomas Gleixnerc942fdd2019-05-27 08:55:06 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Masahiro Yamadae7ecbc02015-10-02 13:42:19 +09002/*
Masahiro Yamadadd34b112016-08-10 20:00:48 +09003 * Copyright (C) 2015-2016 Socionext Inc.
4 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamadae7ecbc02015-10-02 13:42:19 +09005 */
6
7#ifndef __CACHE_UNIPHIER_H
8#define __CACHE_UNIPHIER_H
9
Masahiro Yamada1c63d4c2017-02-01 14:29:22 +010010#include <linux/errno.h>
Masahiro Yamadae7ecbc02015-10-02 13:42:19 +090011
12#ifdef CONFIG_CACHE_UNIPHIER
13int uniphier_cache_init(void);
Masahiro Yamadae7ecbc02015-10-02 13:42:19 +090014#else
15static inline int uniphier_cache_init(void)
16{
17 return -ENODEV;
18}
Masahiro Yamadae7ecbc02015-10-02 13:42:19 +090019#endif
20
21#endif /* __CACHE_UNIPHIER_H */