diff options
| author | Olof Johansson <olof@lixom.net> | 2013-01-14 13:20:02 -0500 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2013-01-14 13:20:02 -0500 |
| commit | 8d84981e395850aab31c3f2ca7e2738e03f671d7 (patch) | |
| tree | 933425fddb23d28be802277471df3fe3f6c2711d /drivers/message | |
| parent | 00c82d64405631967dca3890a9ce80ab35d04cc7 (diff) | |
| parent | 77cc982f6a3b33a5aa058ad3b20cda8866db2948 (diff) | |
Merge branch 'clocksource/cleanup' into next/cleanup
Clockevent cleanup series from Shawn Guo.
Resolved move/change conflict in mach-pxa/time.c due to the sys_timer
cleanup.
* clocksource/cleanup:
clocksource: use clockevents_config_and_register() where possible
ARM: use clockevents_config_and_register() where possible
clockevents: export clockevents_config_and_register for module use
+ sync to Linux 3.8-rc3
Signed-off-by: Olof Johansson <olof@lixom.net>
Conflicts:
arch/arm/mach-pxa/time.c
Diffstat (limited to 'drivers/message')
| -rw-r--r-- | drivers/message/fusion/mptfc.c | 7 | ||||
| -rw-r--r-- | drivers/message/fusion/mptsas.c | 4 | ||||
| -rw-r--r-- | drivers/message/fusion/mptspi.c | 2 | ||||
| -rw-r--r-- | drivers/message/i2o/pci.c | 11 |
4 files changed, 11 insertions, 13 deletions
diff --git a/drivers/message/fusion/mptfc.c b/drivers/message/fusion/mptfc.c index d784c36707c0..c13cd9bc590b 100644 --- a/drivers/message/fusion/mptfc.c +++ b/drivers/message/fusion/mptfc.c | |||
| @@ -100,7 +100,7 @@ static int mptfc_slave_alloc(struct scsi_device *sdev); | |||
| 100 | static int mptfc_qcmd(struct Scsi_Host *shost, struct scsi_cmnd *SCpnt); | 100 | static int mptfc_qcmd(struct Scsi_Host *shost, struct scsi_cmnd *SCpnt); |
| 101 | static void mptfc_target_destroy(struct scsi_target *starget); | 101 | static void mptfc_target_destroy(struct scsi_target *starget); |
| 102 | static void mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout); | 102 | static void mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout); |
| 103 | static void __devexit mptfc_remove(struct pci_dev *pdev); | 103 | static void mptfc_remove(struct pci_dev *pdev); |
| 104 | static int mptfc_abort(struct scsi_cmnd *SCpnt); | 104 | static int mptfc_abort(struct scsi_cmnd *SCpnt); |
| 105 | static int mptfc_dev_reset(struct scsi_cmnd *SCpnt); | 105 | static int mptfc_dev_reset(struct scsi_cmnd *SCpnt); |
| 106 | static int mptfc_bus_reset(struct scsi_cmnd *SCpnt); | 106 | static int mptfc_bus_reset(struct scsi_cmnd *SCpnt); |
| @@ -1360,7 +1360,7 @@ static struct pci_driver mptfc_driver = { | |||
| 1360 | .name = "mptfc", | 1360 | .name = "mptfc", |
| 1361 | .id_table = mptfc_pci_table, | 1361 | .id_table = mptfc_pci_table, |
| 1362 | .probe = mptfc_probe, | 1362 | .probe = mptfc_probe, |
| 1363 | .remove = __devexit_p(mptfc_remove), | 1363 | .remove = mptfc_remove, |
| 1364 | .shutdown = mptscsih_shutdown, | 1364 | .shutdown = mptscsih_shutdown, |
| 1365 | #ifdef CONFIG_PM | 1365 | #ifdef CONFIG_PM |
| 1366 | .suspend = mptscsih_suspend, | 1366 | .suspend = mptscsih_suspend, |
| @@ -1496,8 +1496,7 @@ mptfc_init(void) | |||
| 1496 | * @pdev: Pointer to pci_dev structure | 1496 | * @pdev: Pointer to pci_dev structure |
| 1497 | * | 1497 | * |
| 1498 | */ | 1498 | */ |
| 1499 | static void __devexit | 1499 | static void mptfc_remove(struct pci_dev *pdev) |
| 1500 | mptfc_remove(struct pci_dev *pdev) | ||
| 1501 | { | 1500 | { |
| 1502 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); | 1501 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); |
| 1503 | struct mptfc_rport_info *p, *n; | 1502 | struct mptfc_rport_info *p, *n; |
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c index 551262e4b96e..fa43c391c8ed 100644 --- a/drivers/message/fusion/mptsas.c +++ b/drivers/message/fusion/mptsas.c | |||
| @@ -5332,7 +5332,7 @@ mptsas_shutdown(struct pci_dev *pdev) | |||
| 5332 | mptsas_cleanup_fw_event_q(ioc); | 5332 | mptsas_cleanup_fw_event_q(ioc); |
| 5333 | } | 5333 | } |
| 5334 | 5334 | ||
| 5335 | static void __devexit mptsas_remove(struct pci_dev *pdev) | 5335 | static void mptsas_remove(struct pci_dev *pdev) |
| 5336 | { | 5336 | { |
| 5337 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); | 5337 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); |
| 5338 | struct mptsas_portinfo *p, *n; | 5338 | struct mptsas_portinfo *p, *n; |
| @@ -5387,7 +5387,7 @@ static struct pci_driver mptsas_driver = { | |||
| 5387 | .name = "mptsas", | 5387 | .name = "mptsas", |
| 5388 | .id_table = mptsas_pci_table, | 5388 | .id_table = mptsas_pci_table, |
| 5389 | .probe = mptsas_probe, | 5389 | .probe = mptsas_probe, |
| 5390 | .remove = __devexit_p(mptsas_remove), | 5390 | .remove = mptsas_remove, |
| 5391 | .shutdown = mptsas_shutdown, | 5391 | .shutdown = mptsas_shutdown, |
| 5392 | #ifdef CONFIG_PM | 5392 | #ifdef CONFIG_PM |
| 5393 | .suspend = mptscsih_suspend, | 5393 | .suspend = mptscsih_suspend, |
diff --git a/drivers/message/fusion/mptspi.c b/drivers/message/fusion/mptspi.c index 8f61ba6aac23..c3aabde2dc4f 100644 --- a/drivers/message/fusion/mptspi.c +++ b/drivers/message/fusion/mptspi.c | |||
| @@ -1550,7 +1550,7 @@ static struct pci_driver mptspi_driver = { | |||
| 1550 | .name = "mptspi", | 1550 | .name = "mptspi", |
| 1551 | .id_table = mptspi_pci_table, | 1551 | .id_table = mptspi_pci_table, |
| 1552 | .probe = mptspi_probe, | 1552 | .probe = mptspi_probe, |
| 1553 | .remove = __devexit_p(mptscsih_remove), | 1553 | .remove = mptscsih_remove, |
| 1554 | .shutdown = mptscsih_shutdown, | 1554 | .shutdown = mptscsih_shutdown, |
| 1555 | #ifdef CONFIG_PM | 1555 | #ifdef CONFIG_PM |
| 1556 | .suspend = mptscsih_suspend, | 1556 | .suspend = mptscsih_suspend, |
diff --git a/drivers/message/i2o/pci.c b/drivers/message/i2o/pci.c index 7190d5239b4f..0f9f3e1a2b6b 100644 --- a/drivers/message/i2o/pci.c +++ b/drivers/message/i2o/pci.c | |||
| @@ -37,7 +37,7 @@ | |||
| 37 | #define OSM_DESCRIPTION "I2O-subsystem" | 37 | #define OSM_DESCRIPTION "I2O-subsystem" |
| 38 | 38 | ||
| 39 | /* PCI device id table for all I2O controllers */ | 39 | /* PCI device id table for all I2O controllers */ |
| 40 | static struct pci_device_id __devinitdata i2o_pci_ids[] = { | 40 | static struct pci_device_id i2o_pci_ids[] = { |
| 41 | {PCI_DEVICE_CLASS(PCI_CLASS_INTELLIGENT_I2O << 8, 0xffff00)}, | 41 | {PCI_DEVICE_CLASS(PCI_CLASS_INTELLIGENT_I2O << 8, 0xffff00)}, |
| 42 | {PCI_DEVICE(PCI_VENDOR_ID_DPT, 0xa511)}, | 42 | {PCI_DEVICE(PCI_VENDOR_ID_DPT, 0xa511)}, |
| 43 | {.vendor = PCI_VENDOR_ID_INTEL,.device = 0x1962, | 43 | {.vendor = PCI_VENDOR_ID_INTEL,.device = 0x1962, |
| @@ -84,7 +84,7 @@ static void i2o_pci_free(struct i2o_controller *c) | |||
| 84 | * | 84 | * |
| 85 | * Returns 0 on success or negative error code on failure. | 85 | * Returns 0 on success or negative error code on failure. |
| 86 | */ | 86 | */ |
| 87 | static int __devinit i2o_pci_alloc(struct i2o_controller *c) | 87 | static int i2o_pci_alloc(struct i2o_controller *c) |
| 88 | { | 88 | { |
| 89 | struct pci_dev *pdev = c->pdev; | 89 | struct pci_dev *pdev = c->pdev; |
| 90 | struct device *dev = &pdev->dev; | 90 | struct device *dev = &pdev->dev; |
| @@ -315,8 +315,7 @@ static void i2o_pci_irq_disable(struct i2o_controller *c) | |||
| 315 | * | 315 | * |
| 316 | * Returns 0 on success or negative error code on failure. | 316 | * Returns 0 on success or negative error code on failure. |
| 317 | */ | 317 | */ |
| 318 | static int __devinit i2o_pci_probe(struct pci_dev *pdev, | 318 | static int i2o_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) |
| 319 | const struct pci_device_id *id) | ||
| 320 | { | 319 | { |
| 321 | struct i2o_controller *c; | 320 | struct i2o_controller *c; |
| 322 | int rc; | 321 | int rc; |
| @@ -453,7 +452,7 @@ static int __devinit i2o_pci_probe(struct pci_dev *pdev, | |||
| 453 | * Reset the I2O controller, disable interrupts and remove all allocated | 452 | * Reset the I2O controller, disable interrupts and remove all allocated |
| 454 | * resources. | 453 | * resources. |
| 455 | */ | 454 | */ |
| 456 | static void __devexit i2o_pci_remove(struct pci_dev *pdev) | 455 | static void i2o_pci_remove(struct pci_dev *pdev) |
| 457 | { | 456 | { |
| 458 | struct i2o_controller *c; | 457 | struct i2o_controller *c; |
| 459 | c = pci_get_drvdata(pdev); | 458 | c = pci_get_drvdata(pdev); |
| @@ -474,7 +473,7 @@ static struct pci_driver i2o_pci_driver = { | |||
| 474 | .name = "PCI_I2O", | 473 | .name = "PCI_I2O", |
| 475 | .id_table = i2o_pci_ids, | 474 | .id_table = i2o_pci_ids, |
| 476 | .probe = i2o_pci_probe, | 475 | .probe = i2o_pci_probe, |
| 477 | .remove = __devexit_p(i2o_pci_remove), | 476 | .remove = i2o_pci_remove, |
| 478 | }; | 477 | }; |
| 479 | 478 | ||
| 480 | /** | 479 | /** |
