1. 15 8月, 2013 2 次提交
  2. 10 8月, 2013 1 次提交
  3. 07 6月, 2013 1 次提交
  4. 04 6月, 2013 1 次提交
  5. 01 5月, 2013 1 次提交
  6. 04 4月, 2013 1 次提交
  7. 04 1月, 2013 1 次提交
    • G
      Drivers: ata: remove __dev* attributes. · 0ec24914
      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, __devexit_p, __devinitdata,
      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: Jeff Garzik <jgarzik@pobox.com>
      Cc: Viresh Kumar <viresh.linux@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      0ec24914
  8. 04 12月, 2012 1 次提交
  9. 29 11月, 2012 1 次提交
  10. 16 11月, 2012 2 次提交
    • Y
      [libata] PM callbacks should be conditionally compiled on CONFIG_PM_SLEEP · 29448ec1
      Yuanhan Liu 提交于
      This will fix warnings like following when CONFIG_PM_SLEEP is not set:
      
              warning: 'xxx_suspend' defined but not used [-Wunused-function]
              warning: 'xxx_resume' defined but not used [-Wunused-function]
      
      Because
      	SET_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn)
      
      Only references the callbacks on CONFIG_PM_SLEEP (instead of CONFIG_PM).
      
      Cc: Viresh Kumar <viresh.linux@gmail.com>
      Cc: linux-ide@vger.kernel.org
      Signed-off-by: NYuanhan Liu <yuanhan.liu@linux.intel.com>
      Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      29448ec1
    • A
      sata_highbank: mark ahci_highbank_probe as __devinit · c37472d3
      Arnd Bergmann 提交于
      The ahci_highbank_probe function is incorrectly marked as __init,
      which means it can get discarded at boot time, which might be
      a problem if for some reason the device only becomes operational
      after loading another module.
      
      Using __devinit instead avoids seeing this warning for every build:
      
      WARNING: vmlinux.o(.data+0xf7b0): Section mismatch in reference from the
      variable ahci_highbank_driver to the function .init.text:ahci_highbank_probe()
      The variable ahci_highbank_driver references
      the function __init ahci_highbank_probe()
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Mark Langsdorf <mark.langsdorf@calxeda.com>
      Cc: Rob Herring <rob.herring@calxeda.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      c37472d3
  11. 13 9月, 2012 1 次提交