You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
@@ -324,6 +324,10 @@ struct parport {
|
||||
int spintime;
|
||||
atomic_t ref_count;
|
||||
|
||||
unsigned long devflags;
|
||||
#define PARPORT_DEVPROC_REGISTERED 0
|
||||
struct pardevice *proc_device; /* Currently register proc device */
|
||||
|
||||
struct list_head full_list;
|
||||
struct parport *slaves[3];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user