Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32788
b: refs/heads/master
c: a0ee7c7
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and David S. Miller committed Jul 21, 2006
1 parent bf8ab44 commit 72d5d90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 485fb2c998a37d5c3c6aa082aa451e66db90f34a
refs/heads/master: a0ee7c70b22f78593957f99faa06acb4747b8bc0
9 changes: 2 additions & 7 deletions trunk/drivers/net/sunhme.c
Original file line number Diff line number Diff line change
Expand Up @@ -3255,12 +3255,7 @@ static void __devexit happy_meal_pci_remove(struct pci_dev *pdev)
}

static struct pci_device_id happymeal_pci_ids[] = {
{
.vendor = PCI_VENDOR_ID_SUN,
.device = PCI_DEVICE_ID_SUN_HAPPYMEAL,
.subvendor = PCI_ANY_ID,
.subdevice = PCI_ANY_ID,
},
{ PCI_DEVICE(PCI_VENDOR_ID_SUN, PCI_DEVICE_ID_SUN_HAPPYMEAL) },
{ } /* Terminating entry */
};

Expand All @@ -3275,7 +3270,7 @@ static struct pci_driver hme_pci_driver = {

static int __init happy_meal_pci_init(void)
{
return pci_module_init(&hme_pci_driver);
return pci_register_driver(&hme_pci_driver);
}

static void happy_meal_pci_exit(void)
Expand Down

0 comments on commit 72d5d90

Please sign in to comment.