X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=include%2Fmedia%2Fvideobuf2-memops.h;h=a6ed091b79ce501a183b2fb6cf6051d169f066f7;hb=6cde26fda11b3e7bcc17574c6a71e96ac40f2573;hp=36565c7acb542b961fcbe38d8b978a6f802f234c;hpb=665ddeb210c10f4daf8ffbe07072771c0020af3a;p=mirror_ubuntu-bionic-kernel.git diff --git a/include/media/videobuf2-memops.h b/include/media/videobuf2-memops.h index 36565c7acb54..a6ed091b79ce 100644 --- a/include/media/videobuf2-memops.h +++ b/include/media/videobuf2-memops.h @@ -16,6 +16,7 @@ #include #include +#include /** * struct vb2_vmarea_handler - common vma refcount tracking handler @@ -25,7 +26,7 @@ * @arg: argument for @put callback */ struct vb2_vmarea_handler { - atomic_t *refcount; + refcount_t *refcount; void (*put)(void *arg); void *arg; };