device-impl.h 484 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * KUnit internal header for device helpers
  4. *
  5. * Header for KUnit-internal driver / bus management.
  6. *
  7. * Copyright (C) 2023, Google LLC.
  8. * Author: David Gow <davidgow@google.com>
  9. */
  10. #ifndef _KUNIT_DEVICE_IMPL_H
  11. #define _KUNIT_DEVICE_IMPL_H
  12. // For internal use only -- registers the kunit_bus.
  13. int kunit_bus_init(void);
  14. // For internal use only -- unregisters the kunit_bus.
  15. void kunit_bus_shutdown(void);
  16. #endif //_KUNIT_DEVICE_IMPL_H