[parisc-linux-cvs] harmony changes

Helge Deller deller@gmx.de
Fri, 6 Apr 2001 17:07:23 +0200


The following patch registers harmony io-ports under /proc/iomem instead of 
/proc/ioports

===================================================================
RCS file: /home/cvs/parisc/linux/drivers/sound/harmony.c,v
retrieving revision 1.9
diff -u -r1.9 harmony.c
--- harmony.c   2001/03/26 19:53:32     1.9
+++ harmony.c   2001/04/06 14:58:03
@@ -1202,7 +1202,7 @@
        if ((ret=harmony_audio_init()))
                return ret;
 
-       request_region((unsigned long)harmony.hpa, 13, "harmony");
+       request_mem_region((unsigned long)harmony.hpa, 13, "harmony");
 
        return 0;
 }
@@ -1229,7 +1229,7 @@
        free_irq(harmony.irq, &harmony);
        unregister_sound_mixer(harmony.mixer_unit);
        unregister_sound_dsp(harmony.dsp_unit);
-       release_region((unsigned long)harmony.hpa, 13);
+       release_mem_region((unsigned long)harmony.hpa, 13);
        unregister_driver(harmony_drivers_for);
 }