<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linuxkpi/common/include/linux/mfd, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-04-06T19:28:09Z</updated>
<entry>
<title>linuxkpi: Add &lt;linux/mfd/core.h&gt;</title>
<updated>2026-04-06T19:28:09Z</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>dumbbell@FreeBSD.org</email>
</author>
<published>2026-03-08T09:40:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=356d6f47d3b54b34aaba9e60aa551f3d615d0e2f'/>
<id>urn:sha1:356d6f47d3b54b34aaba9e60aa551f3d615d0e2f</id>
<content type='text'>
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, &lt;linux/mfd/core.h&gt; includes &lt;linux/ioport.h&gt;. This
works around the fact that we can't include &lt;linux/ioport.h&gt; from
&lt;linux/pci.h&gt;, due to a conflict with the FreeBSD-native `struct
resource`.

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

Reviewed by:	bz, emaste
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55736
</content>
</entry>
</feed>
