1e7ecbc05SMasahiro Yamada /* 2dd34b115SMasahiro Yamada * Copyright (C) 2015-2016 Socionext Inc. 3dd34b115SMasahiro Yamada * Author: Masahiro Yamada <yamada.masahiro@socionext.com> 4e7ecbc05SMasahiro Yamada * 5e7ecbc05SMasahiro Yamada * This program is free software; you can redistribute it and/or modify 6e7ecbc05SMasahiro Yamada * it under the terms of the GNU General Public License as published by 7e7ecbc05SMasahiro Yamada * the Free Software Foundation; either version 2 of the License, or 8e7ecbc05SMasahiro Yamada * (at your option) any later version. 9e7ecbc05SMasahiro Yamada * 10e7ecbc05SMasahiro Yamada * This program is distributed in the hope that it will be useful, 11e7ecbc05SMasahiro Yamada * but WITHOUT ANY WARRANTY; without even the implied warranty of 12e7ecbc05SMasahiro Yamada * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13e7ecbc05SMasahiro Yamada * GNU General Public License for more details. 14e7ecbc05SMasahiro Yamada */ 15e7ecbc05SMasahiro Yamada 16e7ecbc05SMasahiro Yamada #ifndef __CACHE_UNIPHIER_H 17e7ecbc05SMasahiro Yamada #define __CACHE_UNIPHIER_H 18e7ecbc05SMasahiro Yamada 19*1c63d4c5SMasahiro Yamada #include <linux/errno.h> 20e7ecbc05SMasahiro Yamada 21e7ecbc05SMasahiro Yamada #ifdef CONFIG_CACHE_UNIPHIER 22e7ecbc05SMasahiro Yamada int uniphier_cache_init(void); 23e7ecbc05SMasahiro Yamada #else 24e7ecbc05SMasahiro Yamada static inline int uniphier_cache_init(void) 25e7ecbc05SMasahiro Yamada { 26e7ecbc05SMasahiro Yamada return -ENODEV; 27e7ecbc05SMasahiro Yamada } 28e7ecbc05SMasahiro Yamada #endif 29e7ecbc05SMasahiro Yamada 30e7ecbc05SMasahiro Yamada #endif /* __CACHE_UNIPHIER_H */ 31