Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6
This commit is contained in:
@@ -1916,9 +1916,9 @@ static void __twa_shutdown(TW_Device_Extension *tw_dev)
|
||||
} /* End __twa_shutdown() */
|
||||
|
||||
/* Wrapper for __twa_shutdown */
|
||||
static void twa_shutdown(struct device *dev)
|
||||
static void twa_shutdown(struct pci_dev *pdev)
|
||||
{
|
||||
struct Scsi_Host *host = pci_get_drvdata(to_pci_dev(dev));
|
||||
struct Scsi_Host *host = pci_get_drvdata(pdev);
|
||||
TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata;
|
||||
|
||||
__twa_shutdown(tw_dev);
|
||||
@@ -2140,9 +2140,7 @@ static struct pci_driver twa_driver = {
|
||||
.id_table = twa_pci_tbl,
|
||||
.probe = twa_probe,
|
||||
.remove = twa_remove,
|
||||
.driver = {
|
||||
.shutdown = twa_shutdown
|
||||
}
|
||||
.shutdown = twa_shutdown
|
||||
};
|
||||
|
||||
/* This function is called on driver initialization */
|
||||
|
@@ -2264,9 +2264,9 @@ static void __tw_shutdown(TW_Device_Extension *tw_dev)
|
||||
} /* End __tw_shutdown() */
|
||||
|
||||
/* Wrapper for __tw_shutdown */
|
||||
static void tw_shutdown(struct device *dev)
|
||||
static void tw_shutdown(struct pci_dev *pdev)
|
||||
{
|
||||
struct Scsi_Host *host = pci_get_drvdata(to_pci_dev(dev));
|
||||
struct Scsi_Host *host = pci_get_drvdata(pdev);
|
||||
TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata;
|
||||
|
||||
__tw_shutdown(tw_dev);
|
||||
@@ -2451,9 +2451,7 @@ static struct pci_driver tw_driver = {
|
||||
.id_table = tw_pci_tbl,
|
||||
.probe = tw_probe,
|
||||
.remove = tw_remove,
|
||||
.driver = {
|
||||
.shutdown = tw_shutdown
|
||||
}
|
||||
.shutdown = tw_shutdown,
|
||||
};
|
||||
|
||||
/* This function is called on driver initialization */
|
||||
|
@@ -6012,7 +6012,7 @@ static int __devinit ipr_probe(struct pci_dev *pdev,
|
||||
|
||||
/**
|
||||
* ipr_shutdown - Shutdown handler.
|
||||
* @dev: device struct
|
||||
* @pdev: pci device struct
|
||||
*
|
||||
* This function is invoked upon system shutdown/reboot. It will issue
|
||||
* an adapter shutdown to the adapter to flush the write cache.
|
||||
@@ -6020,9 +6020,9 @@ static int __devinit ipr_probe(struct pci_dev *pdev,
|
||||
* Return value:
|
||||
* none
|
||||
**/
|
||||
static void ipr_shutdown(struct device *dev)
|
||||
static void ipr_shutdown(struct pci_dev *pdev)
|
||||
{
|
||||
struct ipr_ioa_cfg *ioa_cfg = pci_get_drvdata(to_pci_dev(dev));
|
||||
struct ipr_ioa_cfg *ioa_cfg = pci_get_drvdata(pdev);
|
||||
unsigned long lock_flags = 0;
|
||||
|
||||
spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags);
|
||||
@@ -6068,9 +6068,7 @@ static struct pci_driver ipr_driver = {
|
||||
.id_table = ipr_pci_table,
|
||||
.probe = ipr_probe,
|
||||
.remove = ipr_remove,
|
||||
.driver = {
|
||||
.shutdown = ipr_shutdown,
|
||||
},
|
||||
.shutdown = ipr_shutdown,
|
||||
};
|
||||
|
||||
/**
|
||||
|
@@ -5036,9 +5036,9 @@ megaraid_remove_one(struct pci_dev *pdev)
|
||||
}
|
||||
|
||||
static void
|
||||
megaraid_shutdown(struct device *dev)
|
||||
megaraid_shutdown(struct pci_dev *pdev)
|
||||
{
|
||||
struct Scsi_Host *host = pci_get_drvdata(to_pci_dev(dev));
|
||||
struct Scsi_Host *host = pci_get_drvdata(pdev);
|
||||
adapter_t *adapter = (adapter_t *)host->hostdata;
|
||||
|
||||
__megaraid_shutdown(adapter);
|
||||
@@ -5070,9 +5070,7 @@ static struct pci_driver megaraid_pci_driver = {
|
||||
.id_table = megaraid_pci_tbl,
|
||||
.probe = megaraid_probe_one,
|
||||
.remove = __devexit_p(megaraid_remove_one),
|
||||
.driver = {
|
||||
.shutdown = megaraid_shutdown,
|
||||
},
|
||||
.shutdown = megaraid_shutdown,
|
||||
};
|
||||
|
||||
static int __init megaraid_init(void)
|
||||
|
Reference in New Issue
Block a user