ANDROID: dma-buf: heaps: dmabuf page pool spinlock should be spinlock_t

Address checkpatch warning:
WARNING: struct spinlock should be spinlock_t
+	struct spinlock lock;

Fixes: 2977891dfd ("ANDROID: dma-buf: heaps: replace mutex lock with spinlock")
Bug: 275698445
Change-Id: I6f2fc7c5ec4bc56a43e8fa738577cb4b64cfcb3e
Signed-off-by: T.J. Mercier <tjmercier@google.com>
This commit is contained in:
T.J. Mercier 2023-04-12 22:36:56 +00:00 committed by Carlos Llamas
parent a3f0a1011d
commit 31d4df4302

View file

@ -39,7 +39,7 @@ enum {
struct dmabuf_page_pool {
int count[POOL_TYPE_SIZE];
struct list_head items[POOL_TYPE_SIZE];
struct spinlock lock;
spinlock_t lock;
gfp_t gfp_mask;
unsigned int order;
struct list_head list;