diff options
| author | Paul Gortmaker <[email protected]> | 2016-07-03 16:31:53 -0400 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2016-07-08 22:22:58 +1000 |
| commit | e00878be3f414a99234b3c9613e2fcab7497cd4b (patch) | |
| tree | 81b1a2dde6ee08384b2a3b20e5c13816a90980e8 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 6e0c50f9e814220ada60497c522b60a8e1cc1e92 (diff) | |
cxl: make base more explicitly non-modular
The Kconfig/Makefile currently controlling compilation of this code is:
drivers/misc/cxl/Kconfig:config CXL_BASE
drivers/misc/cxl/Kconfig: bool
drivers/misc/cxl/Makefile:obj-$(CONFIG_CXL_BASE) += base.o
...meaning that it currently is not being built as a module by anyone.
Lets convert the one module_init into device_initcall so that
when reading the driver it more clear that it is builtin-only.
Since module_init translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.
We don't replace module.h with init.h since the file is doing
other modular stuff (module_get/put) even though it is built-in.
Cc: Ian Munsie <[email protected]>
Cc: Michael Neuling <[email protected]>
Cc: [email protected]
Signed-off-by: Paul Gortmaker <[email protected]>
Acked-by: Ian Munsie <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions