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: kernel test robot <lkp@intel.com>
Cc: Saravana Kannan <saravanak@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
This commit is contained in:
Marc Zyngier 2020-07-26 11:12:36 +01:00
Родитель 9d6a5fe175
Коммит 762a21fd45
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -12,6 +12,7 @@
#define _LINUX_IRQCHIP_H
#include <linux/acpi.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>