]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - sound/soc/sh/sh7760-ac97.c
sound: sh: ctrl_in/outX to __raw_read/writeX conversion.
[net-next-2.6.git] / sound / soc / sh / sh7760-ac97.c
index b897f7b96d8990bbd0bee2c199bdf4531b9c6840..f8e0ab82ef59e188714ba8851048534f0691e10b 100644 (file)
@@ -52,8 +52,8 @@ static int __init sh7760_ac97_init(void)
        unsigned short ipsel;
 
        /* enable both AC97 controllers in pinmux reg */
-       ipsel = ctrl_inw(IPSEL);
-       ctrl_outw(ipsel | (3 << 10), IPSEL);
+       ipsel = __raw_readw(IPSEL);
+       __raw_writew(ipsel | (3 << 10), IPSEL);
 
        ret = -ENOMEM;
        sh7760_ac97_snd_device = platform_device_alloc("soc-audio", -1);