From: Kay Sievers Date: Sat, 6 Dec 2008 03:38:11 +0000 (+0100) Subject: pktcdvd: remove broken dev_t export of class devices X-Git-Tag: v2.6.28-rc8~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cba767175becadc5c4016cceb7bfdd2c7fe722f4;p=pandora-kernel.git pktcdvd: remove broken dev_t export of class devices The pktcdvd created class devices only export some sysfs files, but have no char dev_t registered in the driver. At class device creation time they copy the dev_t value of the block device to the char device, wich will register a new char device in the driver core and userspace, with a conflicting dev_t value. In many cases the class devices dev_t just points to a random USB device. This fixes the sysfs "duplicate entry" errors. Signed-off-by: Kay Sievers Acked-by: Peter Osterlund Cc: Al Viro Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed