cache-uniphier.h 411 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Copyright (C) 2015-2016 Socionext Inc.
  4. * Author: Masahiro Yamada <[email protected]>
  5. */
  6. #ifndef __CACHE_UNIPHIER_H
  7. #define __CACHE_UNIPHIER_H
  8. #include <linux/errno.h>
  9. #ifdef CONFIG_CACHE_UNIPHIER
  10. int uniphier_cache_init(void);
  11. #else
  12. static inline int uniphier_cache_init(void)
  13. {
  14. return -ENODEV;
  15. }
  16. #endif
  17. #endif /* __CACHE_UNIPHIER_H */