diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2014-07-20 17:29:48 +0530 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-07-20 12:27:50 -0700 |
commit | 779ae55bd8ee63f2ba35a0ec15f033e512e706ee (patch) | |
tree | b2c0e621addaf3aa01e4a94971177999084c282c /drivers/bus | |
parent | 6675ef212dac43ae8474ae690e943c83449046b4 (diff) | |
download | op-kernel-dev-779ae55bd8ee63f2ba35a0ec15f033e512e706ee.zip op-kernel-dev-779ae55bd8ee63f2ba35a0ec15f033e512e706ee.tar.gz |
PCI: spear: Remove spear13xx_pcie_remove()
Following compilation warning occurs when compiled with:
CONFIG_DEBUG_SECTION_MISMATCH=y
WARNING: vmlinux.o(.init.data+0x3338): Section mismatch in reference from the
variable spear13xx_pcie_driver to the function
.exit.text:spear13xx_pcie_remove()
This driver isn't allowed to unload, and so doesn't have a *_exit() routine. But
it still has spear13xx_pcie_remove() marked with __exit.
As this driver can't unload, .remove() would never be called, right? So get rid
of it.
Fixes: 51b66a6ce125 (PCI: spear: Add PCIe driver for ST Microelectronics SPEAr13xx)
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions