kernel_platform/common (Android common kernel, android16-6.12) from opendevices.sony.net, "Open source archive for 73.1.A.2.74" (Xperia 1 VIII), unmodified. This is the kernel Sony ships, so stock-built modules (e.g. the WLAN driver, whose source is not in the archive) match it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
22 lines
607 B
C
22 lines
607 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _KUNIT_PLATFORM_DRIVER_H
|
|
#define _KUNIT_PLATFORM_DRIVER_H
|
|
|
|
struct completion;
|
|
struct kunit;
|
|
struct platform_device;
|
|
struct platform_driver;
|
|
|
|
struct platform_device *
|
|
kunit_platform_device_alloc(struct kunit *test, const char *name, int id);
|
|
int kunit_platform_device_add(struct kunit *test, struct platform_device *pdev);
|
|
|
|
int kunit_platform_device_prepare_wait_for_probe(struct kunit *test,
|
|
struct platform_device *pdev,
|
|
struct completion *x);
|
|
|
|
int kunit_platform_driver_register(struct kunit *test,
|
|
struct platform_driver *drv);
|
|
|
|
#endif
|