Index: /trunk/src/VBox/Devices/Audio/DevHDA.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DevHDA.cpp	(revision 65063)
+++ /trunk/src/VBox/Devices/Audio/DevHDA.cpp	(revision 65064)
@@ -1394,4 +1394,5 @@
 
 
+#ifdef IN_RING3
 /**
  * Returns the audio direction of a specified stream descriptor.
@@ -1415,4 +1416,5 @@
     return PDMAUDIODIR_OUT;
 }
+#endif /* IN_RING3 */
 
 
