brintos

brintos / linux-shallow public Read only

0
0
Text · 588 B · 0fc0999 Raw
21 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef _KUNIT_PLATFORM_DRIVER_H3#define _KUNIT_PLATFORM_DRIVER_H4 5struct kunit;6struct platform_device;7struct platform_driver;8 9struct platform_device *10kunit_platform_device_alloc(struct kunit *test, const char *name, int id);11int kunit_platform_device_add(struct kunit *test, struct platform_device *pdev);12 13int kunit_platform_device_prepare_wait_for_probe(struct kunit *test,14						 struct platform_device *pdev,15						 struct completion *x);16 17int kunit_platform_driver_register(struct kunit *test,18				   struct platform_driver *drv);19 20#endif21