diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-26 13:15:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-26 13:15:06 -0400 |
commit | 5e23ae49960d05f578a73ecd19749c45af682c2b (patch) | |
tree | 86ff6d944e7dae60fe60f9ba485cc11129282ddf /drivers/ata/pata_it821x.c | |
parent | bdc0077af574800d24318b6945cf2344e8dbb050 (diff) | |
parent | 641589bff714f39b33ef1d7f02eaa009f2993b64 (diff) |
Merge tag 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev
Pull libata updates from Jeff Garzik:
"Notable changes:
- Updating libata to directly bind with ACPI / runtime power mgmt.
This is a pre-req for SATA ZPODD (CD-ROM power management).
Touches ACPI (exports++) and SCSI in minor ways. Has been in
linux-next for weeks.
The rest of this should come via SCSI tree, as it involves a lot of
updates to the 'sr' driver etc.
Other, minor changes:
- module_pci_driver() removes a lot of common boilerplate from each
PCI driver
- minor coding style, whitespace cleanups
- pata_pcmcia bug fix, caught by Coccinelle
- pata_imx, sata_dwc_460ex minor vendor updates
- ahci_platform: use simple PM ops, and thereby add hibernation cb's
- Add a few device-specific quirks"
* tag 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev: (23 commits)
[libata] pata_cmd64x: whitespace cleanup
libata-acpi: fix up for acpi_pm_device_sleep_state API
sata_dwc_460ex: device tree may specify dma_channel
ahci, trivial: fixed coding style issues related to braces
ahci_platform: add hibernation callbacks
libata-eh.c: local functions should not be exposed globally
libata-transport.c: local functions should not be exposed globally
sata_dwc_460ex: support hardreset
ata: use module_pci_driver
drivers/ata/pata_pcmcia.c: adjust suspicious bit operation
pata_imx: Convert to clk_prepare_enable/clk_disable_unprepare
ahci: Enable SB600 64bit DMA on MSI K9AGM2 (MS-7327) v2
[libata] Prevent interface errors with Seagate FreeAgent GoFlex
drivers/acpi/glue: revert accidental license-related 6b66d95895c bits
libata-acpi: add missing inlines in libata.h
libata: tell scsi layer device supports runtime power off
libata: detect Device Attention support
libata-acpi: register/unregister device to/from power resource
libata-acpi: add ata port runtime D3Cold support
libata-acpi: set acpi state for SATA port
...
Diffstat (limited to 'drivers/ata/pata_it821x.c')
-rw-r--r-- | drivers/ata/pata_it821x.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/ata/pata_it821x.c b/drivers/ata/pata_it821x.c index 62c5d00abd2e..9cc05d808ad5 100644 --- a/drivers/ata/pata_it821x.c +++ b/drivers/ata/pata_it821x.c | |||
@@ -972,15 +972,7 @@ static struct pci_driver it821x_pci_driver = { | |||
972 | #endif | 972 | #endif |
973 | }; | 973 | }; |
974 | 974 | ||
975 | static int __init it821x_init(void) | 975 | module_pci_driver(it821x_pci_driver); |
976 | { | ||
977 | return pci_register_driver(&it821x_pci_driver); | ||
978 | } | ||
979 | |||
980 | static void __exit it821x_exit(void) | ||
981 | { | ||
982 | pci_unregister_driver(&it821x_pci_driver); | ||
983 | } | ||
984 | 976 | ||
985 | MODULE_AUTHOR("Alan Cox"); | 977 | MODULE_AUTHOR("Alan Cox"); |
986 | MODULE_DESCRIPTION("low-level driver for the IT8211/IT8212 IDE RAID controller"); | 978 | MODULE_DESCRIPTION("low-level driver for the IT8211/IT8212 IDE RAID controller"); |
@@ -988,9 +980,5 @@ MODULE_LICENSE("GPL"); | |||
988 | MODULE_DEVICE_TABLE(pci, it821x); | 980 | MODULE_DEVICE_TABLE(pci, it821x); |
989 | MODULE_VERSION(DRV_VERSION); | 981 | MODULE_VERSION(DRV_VERSION); |
990 | 982 | ||
991 | |||
992 | module_param_named(noraid, it8212_noraid, int, S_IRUGO); | 983 | module_param_named(noraid, it8212_noraid, int, S_IRUGO); |
993 | MODULE_PARM_DESC(noraid, "Force card into bypass mode"); | 984 | MODULE_PARM_DESC(noraid, "Force card into bypass mode"); |
994 | |||
995 | module_init(it821x_init); | ||
996 | module_exit(it821x_exit); | ||