diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-09-26 14:58:21 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-28 00:26:43 +0200 |
commit | 71d9a846fbcac1113b3810c06a8a3ddd936ada01 (patch) | |
tree | 771a2c97fb484407a47c8d960a3aaf6087c233ee /Documentation/devicetree/bindings/spi/spi-rspi.txt | |
parent | spi: pic32: Use proper enum in dmaengine_prep_slave_rg (diff) | |
download | linux-71d9a846fbcac1113b3810c06a8a3ddd936ada01.tar.xz linux-71d9a846fbcac1113b3810c06a8a3ddd936ada01.zip |
spi: sprd: don't mark remove function as __exit
The __exit section is left out for built-in drivers, so a
'remove' callback must not be marked as such to avoid breaking when
we unbind a device at runtime. This was pointed out by kbuild:
`sprd_spi_remove' referenced in section `.data' of drivers/spi/spi-sprd.o: defined in discarded section `.exit.text' of drivers/spi/spi-sprd.o
Fixes: e7d973a31c24 ("spi: sprd: Add SPI driver for Spreadtrum SC9860")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/spi-rspi.txt')
0 files changed, 0 insertions, 0 deletions