*参照元 [#w96a5aee]
#backlinks

*説明 [#sb9d12de]
-パス: [[linux-4.4.1/include/media/v4l2-dev.h]]

-FIXME: これは何?
--説明


**引数 [#l4395574]
-struct video_device *vdev
--
--[[linux-4.4.1/video_device]]
-int type
--
-int nr
--

**返り値 [#s730d1f6]
-int
--


**参考 [#xc6f6347]


*実装 [#xf2b7372]
 /* Register video devices. Note that if video_register_device fails,
    the release() callback of the video_device structure is *not* called, so
    the caller is responsible for freeing any data. Usually that means that
    you call video_device_release() on failure. */
 static inline int __must_check video_register_device(struct video_device *vdev,
                 int type, int nr)
 {
         return __video_register_device(vdev, type, nr, 1, vdev->fops->owner);
-
--vdev->fops は const struct v4l2_file_operations * 型
--[[linux-4.4.1/v4l2_file_operations]]
--[[linux-4.4.1/__video_register_device()]]

 }


*コメント [#m2f93c98]


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS