Fix compile errors.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11796 a1c6a512-1295-4272-9138-f99709370657
diff --git a/firmware/drivers/wm8758.c b/firmware/drivers/wm8758.c
index 9732d4f..b52bac2 100644
--- a/firmware/drivers/wm8758.c
+++ b/firmware/drivers/wm8758.c
@@ -223,7 +223,7 @@
 
     /* The iPod can handle multiple frequencies, but fix at 44.1KHz
        for now */
-    wmcodec_set_sample_rate(WM8758_44100HZ);
+    audiohw_set_sample_rate(WM8758_44100HZ);
 
     wmcodec_write(INCTRL,0x44);  /* Connect L2 and R2 inputs */
 
@@ -248,11 +248,11 @@
     wmcodec_write(LOUTMIX,0x17); /* Enable output mixer - BYPL2LMIX @ 0db*/
     wmcodec_write(ROUTMIX,0x17); /* Enable output mixer - BYPR2RMIX @ 0db*/
 
-    wmcodec_mute(0);
+    audiohw_mute(0);
 }
 
 void audiohw_disable_recording(void) {
-    wmcodec_mute(1);
+    audiohw_mute(1);
 
     wmcodec_write(PWRMGMT3, 0x0);
 
diff --git a/firmware/drivers/wm8975.c b/firmware/drivers/wm8975.c
index 011d771..12aa468 100644
--- a/firmware/drivers/wm8975.c
+++ b/firmware/drivers/wm8975.c
@@ -256,7 +256,7 @@
     wmcodec_write(0x07, 0x42);
 
     /* The iPod can handle multiple frequencies, but fix at 44.1KHz for now */
-    wmcodec_set_sample_rate(WM8975_44100HZ);
+    audiohw_set_sample_rate(WM8975_44100HZ);
 
     /* unmute inputs */
     wmcodec_write(0x00, 0x17);               /* LINVOL (def 0dB) */