summaryrefslogtreecommitdiff
path: root/drivers/parport/parport_gsc.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2013-05-30 21:06:39 +0000
committerHelge Deller <deller@gmx.de>2013-06-01 14:46:42 +0200
commit4edb38695d9a3cd62739f8595e21f36f0aabf4c2 (patch)
tree2f5ef46b4f2aab3ab24e69c082828cb2b1f2e8df /drivers/parport/parport_gsc.h
parentc218c713c56b01d4a1cd69390f675cc44857f5fd (diff)
parisc: parport0: fix this legacy no-device port driver!
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>
Diffstat (limited to 'drivers/parport/parport_gsc.h')
-rw-r--r--drivers/parport/parport_gsc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/parport_gsc.h b/drivers/parport/parport_gsc.h
index fc9c37c54022..812214768d27 100644
--- a/drivers/parport/parport_gsc.h
+++ b/drivers/parport/parport_gsc.h
@@ -217,6 +217,6 @@ extern void parport_gsc_dec_use_count(void);
extern struct parport *parport_gsc_probe_port(unsigned long base,
unsigned long base_hi,
int irq, int dma,
- struct pci_dev *dev);
+ struct parisc_device *padev);
#endif /* __DRIVERS_PARPORT_PARPORT_GSC_H */