Merge branch 'stable/for-linus-fixes-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen
* 'stable/for-linus-fixes-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen: xen/balloon: Move the registration from device to subsystem.
This commit is contained in:
commit
00b1d444af
|
@ -221,7 +221,7 @@ static int register_balloon(struct device *dev)
|
|||
{
|
||||
int i, error;
|
||||
|
||||
error = bus_register(&balloon_subsys);
|
||||
error = subsys_system_register(&balloon_subsys, NULL);
|
||||
if (error)
|
||||
return error;
|
||||
|
||||
|
|
Loading…
Reference in New Issue