xref: /linux/lib/kunit/device-impl.h (revision be239684b18e1cdcafcf8c7face4a2f562c745ad)
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 
11 #ifndef _KUNIT_DEVICE_IMPL_H
12 #define _KUNIT_DEVICE_IMPL_H
13 
14 // For internal use only -- registers the kunit_bus.
15 int kunit_bus_init(void);
16 // For internal use only -- unregisters the kunit_bus.
17 void kunit_bus_shutdown(void);
18 
19 #endif //_KUNIT_DEVICE_IMPL_H
20