aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2019-12-16 07:39:37 +0900
committerLorenzo Pieralisi <[email protected]>2020-01-13 16:38:50 +0000
commitd36925be53821306ffcaf642967335cd1fb12410 (patch)
treeccc5667dd5a4221104e45a262839bcb9c62d7b2c /scripts/gcc-plugins/randomize_layout_plugin.c
parente42617b825f8073569da76dc4510bfa019b1c35a (diff)
PCI: uniphier: remove module code from built-in driver
builtin_platform_driver() and MODULE_* are always odd combination. This file is not compiled as a module by anyone because CONFIG_PCIE_UNIPHIER is a bool option. Let's 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. Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Andrew Murray <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions