aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorKay Sievers <[email protected]>2008-12-06 04:38:11 +0100
committerLinus Torvalds <[email protected]>2008-12-10 10:03:32 -0800
commitcba767175becadc5c4016cceb7bfdd2c7fe722f4 (patch)
tree3e7fdc76e7abfa6237517bc0f3a8317cc623a508 /net/lapb/lapb_iface.c
parentcdcb30b5cca157ff73892900ac309d5ee4151c04 (diff)
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 <[email protected]> Acked-by: Peter Osterlund <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions