diff options
| author | David S. Miller <davem@davemloft.net> | 2011-07-05 23:23:37 -0700 | 
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2011-07-05 23:23:37 -0700 | 
| commit | e12fe68ce34d60c04bb1ddb1d3cc5c3022388fe4 (patch) | |
| tree | 83c0e192ccaa4752c80b6131a7d0aa8272b5d0d0 /drivers/base/power/clock_ops.c | |
| parent | 7329f0d58de01878d9ce4f0be7a76e136f223eef (diff) | |
| parent | 712ae51afd55b20c04c5383d02ba5d10233313b1 (diff) | |
| download | olio-linux-3.10-e12fe68ce34d60c04bb1ddb1d3cc5c3022388fe4.tar.xz olio-linux-3.10-e12fe68ce34d60c04bb1ddb1d3cc5c3022388fe4.zip  | |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'drivers/base/power/clock_ops.c')
| -rw-r--r-- | drivers/base/power/clock_ops.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/power/clock_ops.c b/drivers/base/power/clock_ops.c index eaa8a854af0..ad367c4139b 100644 --- a/drivers/base/power/clock_ops.c +++ b/drivers/base/power/clock_ops.c @@ -387,7 +387,7 @@ static int pm_runtime_clk_notify(struct notifier_block *nb,  	clknb = container_of(nb, struct pm_clk_notifier_block, nb);  	switch (action) { -	case BUS_NOTIFY_ADD_DEVICE: +	case BUS_NOTIFY_BIND_DRIVER:  		if (clknb->con_ids[0]) {  			for (con_id = clknb->con_ids; *con_id; con_id++)  				enable_clock(dev, *con_id); @@ -395,7 +395,7 @@ static int pm_runtime_clk_notify(struct notifier_block *nb,  			enable_clock(dev, NULL);  		}  		break; -	case BUS_NOTIFY_DEL_DEVICE: +	case BUS_NOTIFY_UNBOUND_DRIVER:  		if (clknb->con_ids[0]) {  			for (con_id = clknb->con_ids; *con_id; con_id++)  				disable_clock(dev, *con_id);  |