[parisc-linux-cvs] make hp_psaux register in /dev/iomem

Richard Hirst rhirst@linuxcare.com
Tue, 3 Apr 2001 13:04:33 +0100


===================================================================
RCS file: /home/cvs/parisc/linux/drivers/char/hp_psaux.c,v
retrieving revision 1.5
diff -u -r1.5 hp_psaux.c
--- hp_psaux.c  2001/02/23 05:08:15     1.5
+++ hp_psaux.c  2001/04/03 11:57:58
@@ -270,7 +270,7 @@
                    
                request_irq(irq, lasikbd_interrupt, 0, name, hpa);
 
-               request_region((unsigned long)hpa, LASI_STATUS + 4, name);
+               request_mem_region((unsigned long)hpa, LASI_STATUS + 4, name);
 
                register_kbd_ops(&gsc_ps2_kbd_ops);
        }