parport: quickfix the proc registration bug
commit37977b63ee78ebd37669b3740b78e436b1660757
authorAlan Cox <alan@etchedpixels.co.uk>
Tue, 18 Aug 2009 14:27:34 +0000 (18 10:27 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:17:46 +0000 (8 20:17 -0700)
tree0e843dceef0162fce5a65fc011840b8625ee00e0
parentb6768fe15180edf89df1f96dfbf4412a0871c83b
parport: quickfix the proc registration bug

commit 05ad709d04799125ed85dd816fdb558258102172 upstream

parport: quickfix the proc registration bug

Ideally we should have a directory of drivers and a link to the 'active'
driver. For now just show the first device which is effectively the existing
semantics without a warning.

This is an update on the original buggy patch that I then forgot to
resubmit. Confusingly it was proposed by Red Hat, written by Etched Pixels
fixed and submitted by Intel ...

Resolves-Bug: http://bugzilla.kernel.org/show_bug.cgi?id=9749
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/parport/share.c
include/linux/parport.h