1
0
Fork 0
alistair23-linux/include/linux/amba
Paul Gortmaker 941943cf51 drivers/hwtracing: make coresight-* explicitly non-modular
None of the Kconfig currently controlling compilation of any of
the files here are tristate, meaning that none of it currently
is being built as a module by anyone.

We need not be concerned about .remove functions and blocking the
unbind sysfs operations, since that was already done in a recent
commit.

Lets remove any remaining modular references, so that when reading the
drivers there is no doubt they are builtin-only.

All drivers get mostly the same changes, so they are handled in batch.
Changes are (1) convert to builtin_amba_driver, (2) delete module.h
include where unused, and (3) relocate the description into the
comments so we don't need MODULE_DESCRIPTION and associated tags.

The etm3x and etm4x use module_param_named, and have been adjusted
to just include moduleparam.h for that purpose.

In commit f309d44431 ("platform_device:
better support builtin boilerplate avoidance") we introduced the
builtin_driver macro.

Here we use that support and extend it to amba driver registration,
so where a driver is clearly non-modular and builtin-only, we can
update with the simple mapping of

     module_amba_driver(...)  ---> builtin_amba_driver(...)

Since module_amba_driver() uses the same init level priority as
builtin_amba_driver() the init ordering remains unchanged with
this commit.

Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-20 14:11:01 -08:00
..
bus.h drivers/hwtracing: make coresight-* explicitly non-modular 2016-02-20 14:11:01 -08:00
clcd.h Fix common misspellings 2011-03-31 11:26:23 -03:00
kmi.h
mmci.h mmc: mmci: Enforce DMA configuration through DT 2014-06-02 11:20:25 +02:00
pl08x.h dmaengine: PL08x: Avoid collisions with get_signal() macro 2013-07-05 11:40:47 +05:30
pl022.h spi/pl022: Add chip select handling via GPIO 2012-08-22 20:00:44 +01:00
pl061.h gpio: pl061: convert to use 0 for no irq 2012-01-04 10:10:19 -06:00
pl080.h dmaengine: PL08x: Add support for PL080S variant 2013-09-02 11:49:56 +05:30
pl093.h ARM: PL093: Header file for PL093 SSMC PrimeCell 2009-07-30 23:22:54 +01:00
pl330.h DMA: PL330: Merge PL330 driver into drivers/dma/ 2012-03-08 17:59:28 +05:30
serial.h tty: amba-pl011: add support for ZTE UART (EXPERIMENTAL) 2015-12-13 19:59:48 -08:00
sp810.h Update Viresh Kumar's email address 2015-07-17 16:39:53 -07:00