perf: arm_cspmu: Fix modular builds due to missing MODULE_LICENSE()s
authorWill Deacon <will@kernel.org>
Tue, 15 Nov 2022 18:24:03 +0000 (18:24 +0000)
committerWill Deacon <will@kernel.org>
Tue, 15 Nov 2022 18:24:03 +0000 (18:24 +0000)
commit1830902eb896824ca313a50f3486645c2df21327
treed45dfda41ec41ae3bec5a8506cffc20d5a8727e5
parent84481be7167eba1957c8718c8b044a47965fdecb
perf: arm_cspmu: Fix modular builds due to missing MODULE_LICENSE()s

Building an arm64 allmodconfig target results in the following failure
from modpost:

  | ERROR: modpost: missing MODULE_LICENSE() in drivers/perf/arm_cspmu/arm_cspmu.o
  | ERROR: modpost: missing MODULE_LICENSE() in drivers/perf/arm_cspmu/nvidia_cspmu.o
  | make[1]: *** [scripts/Makefile.modpost:126: Module.symvers] Error 1
  | make: *** [Makefile:1944: modpost] Error 2

Add the missing MODULE_LICENSE() macros, following the license of the
source files and symbol exports.

Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_cspmu/arm_cspmu.c
drivers/perf/arm_cspmu/nvidia_cspmu.c