Merge branch 'master' of /home/cbou/linux-2.6
Conflicts: drivers/power/Kconfig drivers/power/Makefile
This commit is contained in:
@@ -202,7 +202,7 @@ int power_supply_uevent(struct device *dev, struct kobj_uevent_env *env)
|
||||
|
||||
dev_dbg(dev, "uevent\n");
|
||||
|
||||
if (!psy) {
|
||||
if (!psy || !psy->dev) {
|
||||
dev_dbg(dev, "No power supply yet\n");
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user