aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/nsp32.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/nsp32.c')
-rw-r--r--drivers/scsi/nsp32.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/scsi/nsp32.c b/drivers/scsi/nsp32.c
index 62b616891a33..1cc0c1c69c88 100644
--- a/drivers/scsi/nsp32.c
+++ b/drivers/scsi/nsp32.c
@@ -76,7 +76,7 @@ static const char *nsp32_release_version = "1.2";
76/**************************************************************************** 76/****************************************************************************
77 * Supported hardware 77 * Supported hardware
78 */ 78 */
79static struct pci_device_id nsp32_pci_table[] __devinitdata = { 79static struct pci_device_id nsp32_pci_table[] = {
80 { 80 {
81 .vendor = PCI_VENDOR_ID_IODATA, 81 .vendor = PCI_VENDOR_ID_IODATA,
82 .device = PCI_DEVICE_ID_NINJASCSI_32BI_CBSC_II, 82 .device = PCI_DEVICE_ID_NINJASCSI_32BI_CBSC_II,
@@ -186,10 +186,10 @@ static nsp32_sync_table nsp32_sync_table_pci[] = {
186 * function declaration 186 * function declaration
187 */ 187 */
188/* module entry point */ 188/* module entry point */
189static int __devinit nsp32_probe (struct pci_dev *, const struct pci_device_id *); 189static int nsp32_probe (struct pci_dev *, const struct pci_device_id *);
190static void __devexit nsp32_remove(struct pci_dev *); 190static void nsp32_remove(struct pci_dev *);
191static int __init init_nsp32 (void); 191static int __init init_nsp32 (void);
192static void __exit exit_nsp32 (void); 192static void __exit exit_nsp32 (void);
193 193
194/* struct struct scsi_host_template */ 194/* struct struct scsi_host_template */
195static int nsp32_proc_info (struct Scsi_Host *, char *, char **, off_t, int, int); 195static int nsp32_proc_info (struct Scsi_Host *, char *, char **, off_t, int, int);
@@ -3382,7 +3382,7 @@ static int nsp32_resume(struct pci_dev *pdev)
3382/************************************************************************ 3382/************************************************************************
3383 * PCI/Cardbus probe/remove routine 3383 * PCI/Cardbus probe/remove routine
3384 */ 3384 */
3385static int __devinit nsp32_probe(struct pci_dev *pdev, const struct pci_device_id *id) 3385static int nsp32_probe(struct pci_dev *pdev, const struct pci_device_id *id)
3386{ 3386{
3387 int ret; 3387 int ret;
3388 nsp32_hw_data *data = &nsp32_data_base; 3388 nsp32_hw_data *data = &nsp32_data_base;
@@ -3418,7 +3418,7 @@ static int __devinit nsp32_probe(struct pci_dev *pdev, const struct pci_device_i
3418 return ret; 3418 return ret;
3419} 3419}
3420 3420
3421static void __devexit nsp32_remove(struct pci_dev *pdev) 3421static void nsp32_remove(struct pci_dev *pdev)
3422{ 3422{
3423 struct Scsi_Host *host = pci_get_drvdata(pdev); 3423 struct Scsi_Host *host = pci_get_drvdata(pdev);
3424 3424
@@ -3435,7 +3435,7 @@ static struct pci_driver nsp32_driver = {
3435 .name = "nsp32", 3435 .name = "nsp32",
3436 .id_table = nsp32_pci_table, 3436 .id_table = nsp32_pci_table,
3437 .probe = nsp32_probe, 3437 .probe = nsp32_probe,
3438 .remove = __devexit_p(nsp32_remove), 3438 .remove = nsp32_remove,
3439#ifdef CONFIG_PM 3439#ifdef CONFIG_PM
3440 .suspend = nsp32_suspend, 3440 .suspend = nsp32_suspend,
3441 .resume = nsp32_resume, 3441 .resume = nsp32_resume,