Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3863
b: refs/heads/master
c: 4002307
h: refs/heads/master
i:
  3861: fc80239
  3859: 3543b9b
  3855: e8eb527
v: v3
  • Loading branch information
Keith Moore authored and Greg Kroah-Hartman committed Jun 28, 2005
1 parent 5d509fe commit ff37e6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 70549ad9cf074e12f12cdc931b29b2616dfb873a
refs/heads/master: 4002307d2b563a6ab317ca4d7eb1d201a6673d37
5 changes: 3 additions & 2 deletions trunk/drivers/pci/hotplug/cpqphp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ static void __iomem *smbios_start;
static void __iomem *cpqhp_rom_start;
static int power_mode;
static int debug;
static int initialized;

#define DRIVER_VERSION "0.9.8"
#define DRIVER_AUTHOR "Dan Zink <dan.zink@compaq.com>, Greg Kroah-Hartman <greg@kroah.com>"
Expand Down Expand Up @@ -1271,7 +1272,6 @@ static int one_time_init(void)
{
int loop;
int retval = 0;
static int initialized = 0;

if (initialized)
return 0;
Expand Down Expand Up @@ -1441,7 +1441,8 @@ static void __exit unload_cpqphpd(void)
}

// Stop the notification mechanism
cpqhp_event_stop_thread();
if (initialized)
cpqhp_event_stop_thread();

//unmap the rom address
if (cpqhp_rom_start)
Expand Down

0 comments on commit ff37e6b

Please sign in to comment.