]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/IOKit/IOCommandQueue.h
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / iokit / IOKit / IOCommandQueue.h
index 5ad86ec5b933179a4813b8ed6148396cfd74186c..5832b41e2d6629b95797a0b12f4103d94ca63173 100644 (file)
@@ -40,6 +40,7 @@
 #define _IOKIT_IOCOMMANDQUEUE_H
 
 #include <IOKit/IOEventSource.h>
+#include <libkern/c++/OSPtr.h>
 
 class IOCommandQueue;
 
@@ -64,7 +65,7 @@ protected:
        virtual bool checkForWork() APPLE_KEXT_OVERRIDE;
 
 public:
-       static IOCommandQueue *commandQueue(OSObject *inOwner,
+       static OSPtr<IOCommandQueue> commandQueue(OSObject *inOwner,
            IOCommandQueueAction inAction = NULL,
            int inSize = kIOCQDefaultSize)
        APPLE_KEXT_DEPRECATED;