iommu/bcm2712: don't allow building as module
authorRatchanan Srirattanamet <peathot@hotmail.com>
Tue, 30 Jan 2024 07:09:00 +0000 (14:09 +0700)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:34 +0000 (11:35 +0000)
commit13763a20c2cf3f5424062317f3a4e13dd5147569
tree8d41691b1bd5f5849cdc34697daf8aae3df26c78
parentfd2d892a03a3ae3e196a0941f6c1c2e2581067c3
iommu/bcm2712: don't allow building as module

Since bcm2712-iommu{,-cache}.c doesn't have usual module descriptors
such as `MODULE_LICENSE`, configuring this as 'M' fails the build with
`ERROR: modpost: missing MODULE_LICENSE() in <...>/bcm2712-iommu.o`.
Since it seems like the code is not intended to be built as a module
anyway (it registers the driver with `builtin_platform_driver()`), don't
allow building this code as a module.

Signed-off-by: Ratchanan Srirattanamet <peathot@hotmail.com>
drivers/iommu/Kconfig