parisc: parport0: fix this legacy no-device port driver!
authorHelge Deller <deller@gmx.de>
Thu, 30 May 2013 21:06:39 +0000 (21:06 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jun 2013 17:38:43 +0000 (10:38 -0700)
commit0bb6948d3d84c1ecea5efc6ac710953a91c9c7c6
tree3cea2bd3d8e1736a7484b7eb5bb4e19709e3c8c5
parent753c43534ba817c8bd14b77e6fd0b43dea3892d2
parisc: parport0: fix this legacy no-device port driver!

commit 4edb38695d9a3cd62739f8595e21f36f0aabf4c2 upstream.

Fix the above kernel error from parport_announce_port() on 32bit GSC
machines (e.g. B160L). The parport driver requires now a pointer to the
device struct.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/parport_gsc.c
drivers/parport/parport_gsc.h