muic_kunit.h 397 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __MUIC_KUNIT_H__
  3. #define __MUIC_KUNIT_H__
  4. #if IS_ENABLED(CONFIG_SEC_KUNIT)
  5. #include <kunit/mock.h>
  6. #endif
  7. #ifndef __mockable
  8. #define __mockable
  9. #endif
  10. #ifndef __visible_for_testing
  11. #define __visible_for_testing static
  12. #endif
  13. #ifndef EXPORT_SYMBOL_KUNIT
  14. #define EXPORT_SYMBOL_KUNIT(sym) /* nothing */
  15. #endif
  16. #endif /* __MUIC_KUNIT_H__ */