]> git.baikalelectronics.ru Git - kernel.git/commit
legacy PC parports support parport->dev
authorJean Delvare <khali@linux-fr.org>
Tue, 8 May 2007 07:27:40 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:05 +0000 (11:15 -0700)
commita6e0b065afb2e96ebd147797f1c77c659e89e263
treef6e94a90d13271d12a2e7179bf22a9c0084972a2
parent3e2650f03e62732bce66d56b48d2357145bd3bfd
legacy PC parports support parport->dev

Give legacy parallel ports a platform device in the device tree.

This is a quick and dirty implementation; it doesn't actually convert the
legacy parport code to the device driver model (by splitting out probing from
device creation).  But at least parallel port device drivers will finally have
a device to work with.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/parport/parport_pc.c