Add Linux 6.x support for Ethos-U kernel drivers
The signatures of two core APIs(class_create and remove member of
struct platform_driver) has changed between 5.16.20 and the 6.x kernel
series. Wrap these calls in version‐guarded macros and inline shims to
enable the drivers in 6.x kernel versions as well. Also remove the
trivial remove callback functions and include appropriate headers
required for the of_property_* functions.
Signed-off-by:
Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com>
Change-Id: Ib69b894ddfeb066e434a67e6d9fe3efd7710f7e6
Loading
Please register or sign in to comment