aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-05-14 11:13:44 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-14 11:13:44 -0700
commitfc99824c427ed998e3c5e376bd9c640fde1c407c (patch)
treeae8167c0ac824d76cd63f443c631d8a101d18666 /drivers/base
parente90a4e475a8b34adbefe189c9d0932fa0b7b750f (diff)
parent0a3ad00ca09632c6d0675f606276e92bdf1b306c (diff)
downloadkernel_samsung_smdk4412-fc99824c427ed998e3c5e376bd9c640fde1c407c.zip
kernel_samsung_smdk4412-fc99824c427ed998e3c5e376bd9c640fde1c407c.tar.gz
kernel_samsung_smdk4412-fc99824c427ed998e3c5e376bd9c640fde1c407c.tar.bz2
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6: Driver core: struct class remove children list block: do_mounts - accept root=<non-existant partition>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/class.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/class.c b/drivers/base/class.c
index 0ef00e8..e085af0 100644
--- a/drivers/base/class.c
+++ b/drivers/base/class.c
@@ -140,7 +140,6 @@ int class_register(struct class *cls)
pr_debug("device class '%s': registering\n", cls->name);
- INIT_LIST_HEAD(&cls->children);
INIT_LIST_HEAD(&cls->devices);
INIT_LIST_HEAD(&cls->interfaces);
kset_init(&cls->class_dirs);