1. 20 1月, 2016 1 次提交
    • A
      ssb: mark ssb_bus_register as __maybe_unused · b7e2d195
      Arnd Bergmann 提交于
      The SoC variant of the ssb code is now optional like the other
      ones, which means we can build the framwork without any
      front-end, but that results in a warning:
      
      drivers/ssb/main.c:616:12: warning: 'ssb_bus_register' defined but not used [-Wunused-function]
      
      This annotates the ssb_bus_register function as __maybe_unused to
      shut up the warning. A configuration like this will not work on
      any hardware of course, but we still want this to silently build
      without warnings if the configuration is allowed in the first
      place.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 845da6e5 ("ssb: add Kconfig entry for compiling SoC related code")
      Acked-by: NMichael Buesch <m@bues.ch>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      b7e2d195
  2. 16 12月, 2015 1 次提交
    • R
      ssb: pick SoC invariants code from MIPS BCM47xx arch · 541c9a84
      Rafał Miłecki 提交于
      There is code in ssb fetching "invariants" that is basically a set of
      board specific data. Every host requires its own implementation of
      reading function. In ssb we have support for PCI, PCMCIA & SDIO.
      For some (historical?) reason code reading "invariants" for SoC was
      placed in arch code and provided by a callback. This is not needed
      nowadays, so lets move that into ssb. This way we keep all "invariants"
      functions in a single module making code cleaner.
      Signed-off-by: NRafał Miłecki <zajec5@gmail.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      541c9a84
  3. 29 10月, 2015 3 次提交
  4. 29 9月, 2015 1 次提交
  5. 03 3月, 2015 1 次提交
  6. 29 1月, 2015 1 次提交
  7. 25 1月, 2014 1 次提交
  8. 17 10月, 2013 1 次提交
  9. 19 6月, 2013 1 次提交
  10. 07 3月, 2013 1 次提交
  11. 05 2月, 2013 1 次提交
  12. 31 1月, 2013 1 次提交
  13. 04 1月, 2013 1 次提交
    • G
      Drivers: ssb: remove __dev* attributes. · 163247c1
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, and __devexit from these
      drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Michael Buesch <m@bues.ch>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      163247c1
  14. 11 12月, 2012 1 次提交
  15. 07 12月, 2012 1 次提交
  16. 22 11月, 2012 2 次提交
  17. 07 2月, 2012 1 次提交
  18. 25 1月, 2012 1 次提交
    • A
      Remove useless get_driver()/put_driver() calls · f3ff9247
      Alan Stern 提交于
      As part of the removal of get_driver()/put_driver(), this patch
      (as1512) gets rid of various useless and unnecessary calls in several
      drivers.  In some cases it may be desirable to pin the driver by
      calling try_module_get(), but that can be done later.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      CC: "David S. Miller" <davem@davemloft.net>
      CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      CC: Michael Buesch <m@bues.ch>
      CC: Joerg Roedel <joerg.roedel@amd.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      f3ff9247
  19. 01 11月, 2011 1 次提交
  20. 25 8月, 2011 1 次提交
  21. 22 7月, 2011 1 次提交
  22. 07 7月, 2011 1 次提交
  23. 28 6月, 2011 1 次提交
  24. 23 6月, 2011 1 次提交
    • H
      ssb: add __devinit to some functions · cd155987
      Hauke Mehrtens 提交于
      Two functions in ssb are using register_pci_controller() which is
      __devinit. The functions ssb_pcicore_init_hostmode() and
      ssb_gige_probe() should also be __devinit.
      
      This fixes the following warning:
      WARNING: vmlinux.o(.text+0x2727b8): Section mismatch in reference from the function ssb_pcicore_init_hostmode() to the function .devinit.text:register_pci_controller()
      The function ssb_pcicore_init_hostmode() references
      the function __devinit register_pci_controller().
      This is often because ssb_pcicore_init_hostmode lacks a __devinit
      annotation or the annotation of register_pci_controller is wrong.
      
      WARNING: vmlinux.o(.text+0x273398): Section mismatch in reference from the function ssb_gige_probe() to the function .devinit.text:register_pci_controller()
      The function ssb_gige_probe() references
      the function __devinit register_pci_controller().
      This is often because ssb_gige_probe lacks a __devinit
      annotation or the annotation of register_pci_controller is wrong.
      Reported-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      cd155987
  25. 14 5月, 2011 1 次提交
  26. 12 5月, 2011 1 次提交
  27. 27 4月, 2011 2 次提交
  28. 19 2月, 2011 3 次提交
  29. 03 12月, 2010 1 次提交
  30. 29 9月, 2010 1 次提交
    • D
      pcmcia: convert pcmcia_request_configuration to pcmcia_enable_device · 1ac71e5a
      Dominik Brodowski 提交于
      pcmcia_enable_device() now replaces pcmcia_request_configuration().
      Instead of config_req_t, all necessary flags are either passed as
      a parameter to pcmcia_enable_device(), or (in rare circumstances)
      set in struct pcmcia_device -> flags.
      
      With the last remaining user of include/pcmcia/cs.h gone, remove
      all references.
      
      CC: netdev@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      CC: linux-ide@vger.kernel.org
      CC: linux-usb@vger.kernel.org
      CC: laforge@gnumonks.org
      CC: linux-mtd@lists.infradead.org
      CC: alsa-devel@alsa-project.org
      CC: linux-serial@vger.kernel.org
      CC: Jiri Kosina <jkosina@suse.cz>
      CC: linux-scsi@vger.kernel.org
      Acked-by: Gustavo F. Padovan <padovan@profusion.mobi> (for drivers/bluetooth)
      Tested-by: NWolfram Sang <w.sang@pengutronix.de>
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      1ac71e5a
  31. 31 7月, 2010 1 次提交
    • D
      pcmcia: remove cs_types.h · ac8b4228
      Dominik Brodowski 提交于
      Remove cs_types.h which is no longer needed: Most definitions aren't
      used at all, a few can be made away with, and two remaining definitions
      (typedefs, unfortunatley) may be moved to more specific places.
      
      CC: linux-ide@vger.kernel.org
      CC: linux-usb@vger.kernel.org
      CC: laforge@gnumonks.org
      CC: linux-mtd@lists.infradead.org
      CC: alsa-devel@alsa-project.org
      CC: linux-serial@vger.kernel.org
      Acked-by: Marcel Holtmann <marcel@holtmann.org> (for drivers/bluetooth/)
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      ac8b4228
  32. 05 6月, 2010 2 次提交
  33. 10 5月, 2010 1 次提交
    • D
      pcmcia: re-work pcmcia_request_irq() · eb14120f
      Dominik Brodowski 提交于
      Instead of the old pcmcia_request_irq() interface, drivers may now
      choose between:
      
      - calling request_irq/free_irq directly. Use the IRQ from *p_dev->irq.
      
      - use pcmcia_request_irq(p_dev, handler_t); the PCMCIA core will
        clean up automatically on calls to pcmcia_disable_device() or
        device ejection.
      
      - drivers still not capable of IRQF_SHARED (or not telling us so) may
        use the deprecated pcmcia_request_exclusive_irq() for the time
        being; they might receive a shared IRQ nonetheless.
      
      CC: linux-bluetooth@vger.kernel.org
      CC: netdev@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      CC: linux-serial@vger.kernel.org
      CC: alsa-devel@alsa-project.org
      CC: linux-usb@vger.kernel.org
      CC: linux-ide@vger.kernel.org
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      eb14120f