Index: /trunk/src/VBox/Devices/Audio/HDACodec.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/HDACodec.cpp	(revision 87806)
+++ /trunk/src/VBox/Devices/Audio/HDACodec.cpp	(revision 87807)
@@ -917,4 +917,6 @@
 }
 
+#ifdef IN_RING0
+
 DECLINLINE(void) hdaCodecSetRegisterU16(uint32_t *pu32Reg, uint32_t u32Cmd, uint8_t u8Offset)
 {
@@ -922,4 +924,5 @@
 }
 
+#endif
 
 /*
