The patch titled driver core: remove device_is_registered() in device_move() has been added to the -mm tree. Its filename is driver-core-remove-device_is_registered-in.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: driver core: remove device_is_registered() in device_move() From: Cornelia Huck <cornelia.huck@xxxxxxxxxx> device_is_registered() will always be false for a device with no bus. Remove this check and trust the caller to know what they're doing. Signed-off-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/base/core.c | 4 ---- 1 files changed, 4 deletions(-) diff -puN drivers/base/core.c~driver-core-remove-device_is_registered-in drivers/base/core.c --- a/drivers/base/core.c~driver-core-remove-device_is_registered-in +++ a/drivers/base/core.c @@ -1007,10 +1007,6 @@ int device_move(struct device *dev, stru if (!dev) return -EINVAL; - if (!device_is_registered(dev)) { - error = -EINVAL; - goto out; - } new_parent = get_device(new_parent); if (!new_parent) { error = -EINVAL; _ Patches currently in -mm which might be from cornelia.huck@xxxxxxxxxx are driver-core-per-subsystem-multithreaded-probing.patch driver-core-dont-fail-attaching-the-device-if-it.patch driver-core-remove-device_is_registered-in.patch driver-core-allow-device_movedev-null.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html