summaryrefslogtreecommitdiffstats
path: root/lib/kunit/device-impl.h
blob: 5fcd48ff0f36a37415c67cf2223cdf7ffeaef794 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * KUnit internal header for device helpers
 *
 * Header for KUnit-internal driver / bus management.
 *
 * Copyright (C) 2023, Google LLC.
 * Author: David Gow <davidgow@google.com>
 */

#ifndef _KUNIT_DEVICE_IMPL_H
#define _KUNIT_DEVICE_IMPL_H

// For internal use only -- registers the kunit_bus.
int kunit_bus_init(void);
// For internal use only -- unregisters the kunit_bus.
void kunit_bus_shutdown(void);

#endif //_KUNIT_DEVICE_IMPL_H