Skip to content
Commit 762a21fd authored by Marc Zyngier's avatar Marc Zyngier
Browse files

irqchip: Fix IRQCHIP_PLATFORM_DRIVER_* compilation by including module.h



The newly introduced IRQCHIP_PLATFORM_DRIVER_* macros expand into
module-related macros, but do so without including module.h.
Depending on the driver and/or architecture, this happens to work,
or not.

Unconditionnaly include linux/module.h to sort it out.

Fixes: f3b5e608ed6d ("irqchip: Add IRQCHIP_PLATFORM_DRIVER_BEGIN/END and IRQCHIP_MATCH helper macros")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Cc: Saravana Kannan <saravanak@google.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
parent 9d6a5fe1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment