[PATCH v3 0/5] PCI: Remove unnecessary <linux/of_irq.h> includes
Rob Herring
robh at kernel.org
Fri Nov 11 10:27:23 PST 2022
On Mon, Oct 31, 2022 at 10:40 AM Bjorn Helgaas <helgaas at kernel.org> wrote:
>
> From: Bjorn Helgaas <bhelgaas at google.com>
>
> Many host controller drivers #include <linux/of_irq.h> even though they
> don't need it. Remove the unnecessary #includes.
Note that the same is often true of the other of_*.h headers.
of_device.h and of_platform.h are tricky though as one includes the
other (with a decade old comment to fix). I started down that rabbit
hole once...
Rob
More information about the Linux-rockchip
mailing list