Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71919
b: refs/heads/master
c: 19c4d56
h: refs/heads/master
i:
  71917: c8c0b75
  71915: 2c68aac
  71911: 5f4175b
  71903: 324954a
v: v3
  • Loading branch information
Kyle McMartin authored and Kyle McMartin committed Oct 18, 2007
1 parent ee3ae28 commit d76324c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 6cc4525d29e22ab831387b6fac371e0118693a25
refs/heads/master: 19c4d5664aaf9419dfe6b24990a93305fded6403
4 changes: 3 additions & 1 deletion trunk/drivers/parisc/superio.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ superio_init(struct pci_dev *pcidev)
struct superio_device *sio = &sio_dev;
struct pci_dev *pdev = sio->lio_pdev;
u16 word;
int ret;

if (sio->suckyio_irq_enabled)
return;
Expand Down Expand Up @@ -200,7 +201,8 @@ superio_init(struct pci_dev *pcidev)
pci_write_config_word (pdev, PCI_COMMAND, word);

pci_set_master (pdev);
pci_enable_device(pdev);
ret = pci_enable_device(pdev);
BUG_ON(ret < 0); /* not too much we can do about this... */

/*
* Next project is programming the onboard interrupt controllers.
Expand Down

0 comments on commit d76324c

Please sign in to comment.