Skip to content
Commit 86450c7d authored by Ratchanan Srirattanamet's avatar Ratchanan Srirattanamet Committed by Phil Elwell
Browse files

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: default avatarRatchanan Srirattanamet <peathot@hotmail.com>
parent 4c7a8e9e
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