Page MenuHomeFreeBSD

linuxkpi: Add <linux/mfd/core.h>
AcceptedPublic

Authored by dumbbell on Sun, Mar 8, 1:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 25, 1:43 AM
Unknown Object (File)
Fri, Mar 20, 7:06 AM
Unknown Object (File)
Fri, Mar 20, 6:44 AM
Unknown Object (File)
Thu, Mar 19, 10:35 PM
Unknown Object (File)
Thu, Mar 19, 3:24 AM
Unknown Object (File)
Mon, Mar 16, 12:18 AM
Unknown Object (File)
Sat, Mar 14, 2:10 PM
Unknown Object (File)
Thu, Mar 12, 10:58 PM
Subscribers

Details

Reviewers
bz
emaste
Group Reviewers
linuxkpi
Summary

To be exact, there was a dummy file with no content before. This commit defines struct mfd_cell and adds two function stubs.

The function stubs are not implemented but still return success. They log a message to indicate they need to be implemented.

Also, unlike Linux, <linux/mfd/core.h> includes <linux/ioport.h>. This works around the fact that we can't include <linux/ioport.h> from <linux/pci.h>, due to a conflict with the FreeBSD-native struct resource.

The amdgpu DRM driver started to use it in Linux 6.11.

This is part of the update of DRM drivers to Linux 6.11.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped