1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _KUNIT_PLATFORM_DRIVER_H 2 #ifndef _KUNIT_PLATFORM_DRIVER_H 3 #define _KUNIT_PLATFORM_DRIVER_H 3 #define _KUNIT_PLATFORM_DRIVER_H 4 4 5 struct kunit; 5 struct kunit; 6 struct platform_device; 6 struct platform_device; 7 struct platform_driver; 7 struct platform_driver; 8 8 9 struct platform_device * 9 struct platform_device * 10 kunit_platform_device_alloc(struct kunit *test 10 kunit_platform_device_alloc(struct kunit *test, const char *name, int id); 11 int kunit_platform_device_add(struct kunit *te 11 int kunit_platform_device_add(struct kunit *test, struct platform_device *pdev); 12 12 13 int kunit_platform_device_prepare_wait_for_pro 13 int kunit_platform_device_prepare_wait_for_probe(struct kunit *test, 14 14 struct platform_device *pdev, 15 15 struct completion *x); 16 16 17 int kunit_platform_driver_register(struct kuni 17 int kunit_platform_driver_register(struct kunit *test, 18 struct plat 18 struct platform_driver *drv); 19 19 20 #endif 20 #endif 21 21
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.