diff options
author | Russell King <rmk+lkml@arm.linux.org.uk> | 2006-05-06 09:15:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-21 21:40:48 +0200 |
commit | e391553222211e07dfbe2f01c413b4e6d0ae32aa (patch) | |
tree | 4240a4023c5434de449a9f73e07a9d1ff0d68c84 /drivers/base/hypervisor.c | |
parent | [PATCH] Driver Core: Allow sysdev_class have attributes (diff) | |
download | linux-e391553222211e07dfbe2f01c413b4e6d0ae32aa.tar.xz linux-e391553222211e07dfbe2f01c413b4e6d0ae32aa.zip |
[PATCH] Driver Core: Fix platform_device_add to use device_add
platform_device_add() should be using device_add() rather
than device_register() - any platform device passed to
platform_device_add() should have already been initialised,
either by platform_device_alloc() or platform_device_register().
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/hypervisor.c')
0 files changed, 0 insertions, 0 deletions