aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atm')
-rw-r--r--drivers/atm/iphase.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c
index 5c28ca7380ff..800c09e128ee 100644
--- a/drivers/atm/iphase.c
+++ b/drivers/atm/iphase.c
@@ -3198,6 +3198,8 @@ static int __devinit ia_init_one(struct pci_dev *pdev,
3198 IF_INIT(printk("dev_id = 0x%x iadev->LineRate = %d \n", (u32)dev, 3198 IF_INIT(printk("dev_id = 0x%x iadev->LineRate = %d \n", (u32)dev,
3199 iadev->LineRate);) 3199 iadev->LineRate);)
3200 3200
3201 pci_set_drvdata(pdev, dev);
3202
3201 ia_dev[iadev_count] = iadev; 3203 ia_dev[iadev_count] = iadev;
3202 _ia_dev[iadev_count] = dev; 3204 _ia_dev[iadev_count] = dev;
3203 iadev_count++; 3205 iadev_count++;
@@ -3219,8 +3221,6 @@ static int __devinit ia_init_one(struct pci_dev *pdev,
3219 iadev->next_board = ia_boards; 3221 iadev->next_board = ia_boards;
3220 ia_boards = dev; 3222 ia_boards = dev;
3221 3223
3222 pci_set_drvdata(pdev, dev);
3223
3224 return 0; 3224 return 0;
3225 3225
3226err_out_deregister_dev: 3226err_out_deregister_dev: