1. 07 3月, 2015 1 次提交
  2. 14 11月, 2014 3 次提交
  3. 20 10月, 2014 1 次提交
  4. 23 9月, 2014 1 次提交
  5. 21 7月, 2014 2 次提交
    • V
      PCI: spear: Remove spear13xx_pcie_remove() · 779ae55b
      Viresh Kumar 提交于
      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: 51b66a6c (PCI: spear: Add PCIe driver for ST Microelectronics SPEAr13xx)
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      779ae55b
    • V
      PCI: spear: Fix Section mismatch compilation warning for probe() · 6675ef21
      Viresh Kumar 提交于
      Following compilation warning occurs when compiled with:
      CONFIG_DEBUG_SECTION_MISMATCH=y
      
       WARNING: drivers/pci/host/built-in.o(.data+0xc0): Section mismatch in
       reference from the variable spear13xx_pcie_driver to the function
       .init.text:spear13xx_pcie_probe()
      
      Both .probe() and pcie_init() are marked with __init, but spear13xx_pcie_driver
      isn't. And so section mismatch.
      
      Fix it by marking spear13xx_pcie_driver with __initdata.
      
      Fixes: 51b66a6c (PCI: spear: Add PCIe driver for ST Microelectronics SPEAr13xx)
      Reported-by: NOlof Johansson <olof@lixom.net>
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      6675ef21
  6. 14 7月, 2014 1 次提交