HomeFreeBSD

linuxkpi: Define `dev_is_platform()` and `to_platform_device()`

Description

linuxkpi: Define dev_is_platform() and to_platform_device()

The former returns false and the latter returns NULL.

Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D38163

(cherry picked from commit b9ef0689433d7d08c96695e571c4c262a3ac9007)

Details

Provenance
dumbbellAuthored on Jan 22 2023, 1:46 PM
Reviewer
manu
Differential Revision
D38163: linuxkpi: Define `dev_is_platform()` and `to_platform_device()`
Parents
rG8045ace7fc32: linuxkpi: Try to solve headers dependencies
Branches
Unknown
Tags
Unknown