]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/media/video-buf-dvb.h
Consolidate of_get_parent
[karo-tx-linux.git] / include / media / video-buf-dvb.h
index ad0a07a3a89502e08c580029e96959576c81c821..8233cafdeef6de74970ed18f752294e42005c525 100644 (file)
@@ -11,7 +11,7 @@ struct videobuf_dvb {
        struct videobuf_queue      dvbq;
 
        /* video-buf-dvb state info */
-       struct semaphore           lock;
+       struct mutex               lock;
        struct task_struct         *thread;
        int                        nfeeds;
 
@@ -26,7 +26,8 @@ struct videobuf_dvb {
 
 int videobuf_dvb_register(struct videobuf_dvb *dvb,
                          struct module *module,
-                         void *adapter_priv);
+                         void *adapter_priv,
+                         struct device *device);
 void videobuf_dvb_unregister(struct videobuf_dvb *dvb);
 
 /*