diff options
author | Paul Gortmaker <[email protected]> | 2018-12-01 14:19:15 -0500 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2018-12-03 14:32:03 +0100 |
commit | 39fcbbccf8ed01e5b562136a97434d15d1fd039b (patch) | |
tree | 412f5830ecacccdd3eded5665b4f11ed30e8b87c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f295cf26d7766a1108d1dbfd183813b849c0f161 (diff) |
iommu/tegra: Make it explicitly non-modular
The Kconfig currently controlling compilation of this code is:
drivers/iommu/Kconfig:config TEGRA_IOMMU_GART
drivers/iommu/Kconfig: bool "Tegra GART IOMMU Support"
...meaning that it currently is not being built as a module by anyone.
Lets remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.
We explicitly disallow a driver unbind, since that doesn't have a
sensible use case anyway, and it allows us to drop the ".remove"
code for non-modular drivers.
Since module_init was not in use by this code, the init ordering
remains unchanged with this commit.
We replace module.h with moduleparam.h since the file does actually
declare some module_param() and the easiest way to keep back
compatibility with existing use cases is to leave it as-is for now.
The init function was missing an __init annotation, so it was added.
We also delete the MODULE_LICENSE tag etc. since all that information
was (or is now) contained at the top of the file in the comments.
Cc: Hiroshi Doyu <[email protected]>
Cc: Joerg Roedel <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Alexandre Courbot <[email protected]>
Cc: [email protected]
Cc: [email protected]
Acked-by: Thierry Reding <[email protected]>
Signed-off-by: Paul Gortmaker <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions