summaryrefslogtreecommitdiff
path: root/drivers/parport/parport_mfc3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/parport/parport_mfc3.c')
-rw-r--r--drivers/parport/parport_mfc3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/parport_mfc3.c b/drivers/parport/parport_mfc3.c
index 7578d79b3688..2f650f68af14 100644
--- a/drivers/parport/parport_mfc3.c
+++ b/drivers/parport/parport_mfc3.c
@@ -300,7 +300,7 @@ static int __init parport_mfc3_init(void)
if (!request_mem_region(piabase, sizeof(struct pia), "PIA"))
continue;
- pp = (struct pia *)ZTWO_VADDR(piabase);
+ pp = ZTWO_VADDR(piabase);
pp->crb = 0;
pp->pddrb = 255; /* all data pins output */
pp->crb = PIA_DDR|32|8;