parport: quickfix the proc registration bug
commit05ad709d04799125ed85dd816fdb558258102172
authorAlan Cox <alan@etchedpixels.co.uk>
Tue, 2 Jun 2009 15:58:10 +0000 (2 16:58 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Jun 2009 16:53:22 +0000 (2 09:53 -0700)
treea2fffcedd4d9178663175dcc3816d86734336505
parentd3ae33efb8e2f277f9007eb060c9d0b91ab38ae1
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>
drivers/parport/share.c
include/linux/parport.h