Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53379
b: refs/heads/master
c: 03555d5
h: refs/heads/master
i:
  53377: 7f247bf
  53375: b493e10
v: v3
  • Loading branch information
Scott Murray authored and Greg Kroah-Hartman committed May 3, 2007
1 parent 4b37b56 commit dce4bfa
Show file tree
Hide file tree
Showing 2 changed files with 6 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: ac1f0e9923356652f21756526e194a4a1a37dd38
refs/heads/master: 03555d591d2c8ee9291db171c0d21d3c9cab04d9
6 changes: 5 additions & 1 deletion trunk/drivers/pci/hotplug/cpcihp_zt5550.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,13 +296,17 @@ static struct pci_driver zt5550_hc_driver = {
static int __init zt5550_init(void)
{
struct resource* r;
int rc;

info(DRIVER_DESC " version: " DRIVER_VERSION);
r = request_region(ENUM_PORT, 1, "#ENUM hotswap signal register");
if(!r)
return -EBUSY;

return pci_register_driver(&zt5550_hc_driver);
rc = pci_register_driver(&zt5550_hc_driver);
if(rc < 0)
release_region(ENUM_PORT, 1);
return rc;
}

static void __exit
Expand Down

0 comments on commit dce4bfa

Please sign in to comment.